Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.001666/0.001666, allocations: 123.2 kB / 17.79 MB, free: 5.246 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.001895/0.001895, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.527/1.527, allocations: 225.6 MB / 249.1 MB, free: 3.605 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.2018/0.2018, allocations: 38.5 MB / 342.5 MB, free: 8.023 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.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 64.58 kB / 478.6 MB, free: 33.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1051, allocations: 61.25 MB / 0.5272 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004969/0.1101, allocations: 3.495 MB / 0.5306 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1123, allocations: 1.539 MB / 0.5321 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1124, allocations: 7.938 kB / 0.5321 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.1132, allocations: 266.9 kB / 0.5324 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005846/0.1138, allocations: 279 kB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.1141, allocations: 127.6 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000409/0.1145, allocations: 351 kB / 0.5331 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.1148, allocations: 105.9 kB / 0.5332 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.115, allocations: 167.3 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1152, allocations: 159.4 kB / 0.5335 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.1153, allocations: 16 kB / 0.5335 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.1158, allocations: 335.2 kB / 0.5338 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1159, allocations: 99.7 kB / 0.5339 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.116, allocations: 111.5 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.1165, allocations: 366.7 kB / 0.5344 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1165, allocations: 0 / 0.5344 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1165, allocations: 0 / 0.5344 GB, free: 9.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1165, allocations: 3.938 kB / 0.5344 GB, free: 9.973 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007358/0.1172, allocations: 0.5293 MB / 0.5349 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1173, allocations: 11.89 kB / 0.5349 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.1173, allocations: 50.73 kB / 0.535 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009953/0.1183, allocations: 104.7 kB / 0.5351 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.1187, allocations: 278.9 kB / 0.5353 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1187, allocations: 16.38 kB / 0.5354 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.1188, allocations: 16.38 kB / 0.5354 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.1193, allocations: 329.8 kB / 0.5357 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1194, allocations: 0 / 0.5357 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.1194, allocations: 12 kB / 0.5357 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.1194, allocations: 19.98 kB / 0.5357 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.1199, allocations: 311.7 kB / 0.536 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.1217, allocations: 1.26 MB / 0.5373 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.122, allocations: 145.1 kB / 0.5374 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.1221, allocations: 97.67 kB / 0.5375 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1222, allocations: 7.984 kB / 0.5375 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1222, allocations: 38.56 kB / 0.5375 GB, free: 6.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.1222, allocations: 0 / 0.5375 GB, free: 6.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001564/0.1238, allocations: 0.6608 MB / 0.5382 GB, free: 5.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.1238, allocations: 85.05 kB / 0.5383 GB, free: 5.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.124, allocations: 194.2 kB / 0.5384 GB, free: 5.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1241, allocations: 29.7 kB / 0.5385 GB, free: 5.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1242, allocations: 152.2 kB / 0.5386 GB, free: 5.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.1242, allocations: 67.59 kB / 0.5387 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.1243, allocations: 45.7 kB / 0.5387 GB, free: 5.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1245, allocations: 326.8 kB / 0.539 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1246, allocations: 83.94 kB / 0.5391 GB, free: 4.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.1248, allocations: 152.5 kB / 0.5393 GB, free: 4.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.1252, allocations: 259.1 kB / 0.5395 GB, free: 4.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1252, allocations: 0 / 0.5395 GB, free: 4.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006605/0.1258, allocations: 346.1 kB / 0.5398 GB, free: 4.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1258, allocations: 12.06 kB / 0.5398 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1258, allocations: 0 / 0.5398 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.1262, allocations: 96.77 kB / 0.5399 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1264, allocations: 35.92 kB / 0.54 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.1291, allocations: 2.179 MB / 0.5421 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1292, allocations: 15.94 kB / 0.5421 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.1292, allocations: 11.94 kB / 0.5421 GB, free: 1.523 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.1294, allocations: 157.8 kB / 0.5423 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.1295, allocations: 15.91 kB / 0.5423 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/0.1301, allocations: 330.7 kB / 0.5426 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1301, allocations: 3.984 kB / 0.5426 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1301, allocations: 4 kB / 0.5426 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1301, allocations: 0 / 0.5426 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.1314, allocations: 0.7348 MB / 0.5433 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1314, allocations: 0 / 0.5433 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1315, allocations: 27.98 kB / 0.5434 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.1318, allocations: 80.72 kB / 0.5434 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1318, allocations: 4 kB / 0.5434 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.134, allocations: 2.045 MB / 0.5454 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.134, allocations: 0 / 0.5454 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.1346, allocations: 406.6 kB / 0.5458 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.1347, allocations: 100.9 kB / 0.5459 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1347, allocations: 4 kB / 0.5459 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1348, allocations: 8 kB / 0.5459 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.1349, allocations: 19.91 kB / 0.546 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1349, allocations: 4 kB / 0.546 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.135, allocations: 144.3 kB / 0.5461 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.135, allocations: 4 kB / 0.5461 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.1355, allocations: 64 kB / 0.5462 GB, free: 13.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009455/0.1364, allocations: 0.9419 MB / 0.5471 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007353/0.1372, allocations: 377.1 kB / 0.5474 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1372, allocations: 4.188 kB / 0.5474 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.1376, allocations: 246.5 kB / 0.5477 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1379, allocations: 41.25 kB / 0.5477 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.1413, allocations: 2.638 MB / 0.5503 GB, free: 8.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1417, allocations: 0.7636 MB / 0.551 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1418, allocations: 45.67 kB / 0.5511 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.1419, allocations: 67.41 kB / 0.5511 GB, free: 7.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1419, allocations: 0 / 0.5511 GB, free: 7.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.1738, allocations: 5.385 MB / 0.5564 GB, free: 2.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.01, allocations: 10.28 kB / 0.5564 GB, free: 2.488 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.937670153100044] Failed to read output from testmodel.py, exit status != 0: 12.111007675994188 12.134331433 12.013230364 Calling exit ...