Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 189.2 kB / 20.73 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2005/0.2005, allocations: 38.5 MB / 342.5 MB, free: 7.988 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 72.11 kB / 478.6 MB, free: 33.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.09867, allocations: 61.25 MB / 0.5272 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006666/0.1053, allocations: 4.377 MB / 0.5315 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1071, allocations: 0.9506 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.1073, allocations: 11.94 kB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1075, allocations: 55.48 kB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006543/0.1082, allocations: 246.8 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1084, allocations: 99.8 kB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006222/0.1091, allocations: 0.4906 MB / 0.5333 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.1093, allocations: 119.9 kB / 0.5334 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.1096, allocations: 223.1 kB / 0.5336 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.1101, allocations: 291 kB / 0.5339 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.1101, allocations: 27.98 kB / 0.5339 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.1102, allocations: 24 kB / 0.5339 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1103, allocations: 147.6 kB / 0.5341 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.1106, allocations: 175.1 kB / 0.5343 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.111, allocations: 362.5 kB / 0.5346 GB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.111, allocations: 0 / 0.5346 GB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.111, allocations: 0 / 0.5346 GB, free: 9.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.111, allocations: 4 kB / 0.5346 GB, free: 9.727 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001252/0.1123, allocations: 0.6747 MB / 0.5353 GB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1123, allocations: 11.89 kB / 0.5353 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.1124, allocations: 62.67 kB / 0.5353 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.1125, allocations: 44.69 kB / 0.5354 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.1131, allocations: 384 kB / 0.5357 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1132, allocations: 24.5 kB / 0.5358 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.1132, allocations: 27.95 kB / 0.5358 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.1138, allocations: 352.7 kB / 0.5361 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1138, allocations: 0 / 0.5361 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.1138, allocations: 12 kB / 0.5361 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.1139, allocations: 24.53 kB / 0.5362 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.1143, allocations: 238 kB / 0.5364 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.1161, allocations: 1.371 MB / 0.5377 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.1165, allocations: 164.8 kB / 0.5379 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.1167, allocations: 101.7 kB / 0.538 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1168, allocations: 7.984 kB / 0.538 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1168, allocations: 30.56 kB / 0.538 GB, free: 5.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.1168, allocations: 0 / 0.538 GB, free: 5.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001437/0.1182, allocations: 0.7726 MB / 0.5388 GB, free: 5.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.1183, allocations: 77.11 kB / 0.5388 GB, free: 5.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.1186, allocations: 292.6 kB / 0.5391 GB, free: 4.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1186, allocations: 29.7 kB / 0.5392 GB, free: 4.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1188, allocations: 220 kB / 0.5394 GB, free: 4.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.1189, allocations: 59.52 kB / 0.5394 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-05/0.1189, allocations: 53.66 kB / 0.5395 GB, free: 4.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1191, allocations: 342.8 kB / 0.5398 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1193, allocations: 71.95 kB / 0.5399 GB, free: 3.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1194, allocations: 165.3 kB / 0.54 GB, free: 3.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.1198, allocations: 252.6 kB / 0.5403 GB, free: 3.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1198, allocations: 0 / 0.5403 GB, free: 3.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005384/0.1203, allocations: 324.4 kB / 0.5406 GB, free: 3.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1204, allocations: 8 kB / 0.5406 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1204, allocations: 4 kB / 0.5406 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.1206, allocations: 57.19 kB / 0.5406 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.1208, allocations: 59.84 kB / 0.5407 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.1223, allocations: 1.601 MB / 0.5423 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1225, allocations: 15.98 kB / 0.5423 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1225, allocations: 8 kB / 0.5423 GB, free: 1.254 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.1227, allocations: 173.7 kB / 0.5425 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.1228, allocations: 23.86 kB / 0.5425 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.1232, allocations: 244.3 kB / 0.5427 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1232, allocations: 4 kB / 0.5427 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1232, allocations: 3.984 kB / 0.5427 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1232, allocations: 0 / 0.5427 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009818/0.1242, allocations: 0.6404 MB / 0.5433 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1242, allocations: 0 / 0.5433 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1243, allocations: 23.98 kB / 0.5434 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.1245, allocations: 60.83 kB / 0.5434 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.1246, allocations: 8.031 kB / 0.5434 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.1261, allocations: 1.609 MB / 0.545 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1261, allocations: 0 / 0.545 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.1267, allocations: 411.1 kB / 0.5454 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/0.1268, allocations: 108.9 kB / 0.5455 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.1268, allocations: 4 kB / 0.5455 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1269, allocations: 8 kB / 0.5455 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.127, allocations: 15.97 kB / 0.5455 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.127, allocations: 4 kB / 0.5455 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.1272, allocations: 207.1 kB / 0.5457 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1272, allocations: 4.062 kB / 0.5457 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.1276, allocations: 71.94 kB / 0.5458 GB, free: 13.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008768/0.1285, allocations: 0.9353 MB / 0.5467 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.1291, allocations: 302.3 kB / 0.547 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1291, allocations: 0.9375 kB / 0.547 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.1294, allocations: 206.6 kB / 0.5472 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1299, allocations: 65.14 kB / 0.5473 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.1339, allocations: 3.054 MB / 0.5502 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.1344, allocations: 0.8065 MB / 0.551 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.1346, allocations: 46.95 kB / 0.5511 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.1347, allocations: 107.3 kB / 0.5512 GB, free: 7.613 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1347, allocations: 0 / 0.5512 GB, free: 7.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.1703, allocations: 6.132 MB / 0.5572 GB, free: 1.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.43, allocations: 9.469 kB / 0.5572 GB, free: 1.605 MB / 414.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.142200310248882] Failed to read output from testmodel.py, exit status != 0: 10.515797196887434 10.538575952 10.423475063 Calling exit ...