Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001763/0.001763, allocations: 119.9 kB / 17.79 MB, free: 5.285 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.001472/0.001472, allocations: 189.2 kB / 20.73 MB, free: 2.352 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.429/1.429, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.2635/0.2635, allocations: 38.5 MB / 342.5 MB, free: 8.117 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.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.75 kB / 478.6 MB, free: 33.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1026, allocations: 61.26 MB / 0.5272 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006447/0.109, allocations: 4.441 MB / 0.5315 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.1117, allocations: 1.527 MB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.112, allocations: 11.94 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009943/0.113, allocations: 294.7 kB / 0.5333 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007529/0.1137, allocations: 290.6 kB / 0.5336 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.1145, allocations: 243.4 kB / 0.5338 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008015/0.1153, allocations: 0.6079 MB / 0.5344 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.1156, allocations: 187.8 kB / 0.5346 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004939/0.1161, allocations: 275 kB / 0.5349 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.1167, allocations: 390.8 kB / 0.5352 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.1167, allocations: 40 kB / 0.5353 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.1172, allocations: 235.6 kB / 0.5355 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.1175, allocations: 239.4 kB / 0.5357 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.1179, allocations: 250.7 kB / 0.536 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008962/0.1188, allocations: 0.6733 MB / 0.5366 GB, free: 7.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1188, allocations: 4 kB / 0.5366 GB, free: 7.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1188, allocations: 0 / 0.5366 GB, free: 7.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1188, allocations: 0 / 0.5366 GB, free: 7.684 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001504/0.1203, allocations: 0.7808 MB / 0.5374 GB, free: 6.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1203, allocations: 15.89 kB / 0.5374 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.1204, allocations: 86.69 kB / 0.5375 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/0.121, allocations: 96.55 kB / 0.5376 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.1218, allocations: 427.4 kB / 0.538 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.1218, allocations: 29.36 kB / 0.538 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.122, allocations: 47.94 kB / 0.5381 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.1231, allocations: 0.703 MB / 0.5388 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.1231, allocations: 4 kB / 0.5388 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.1231, allocations: 12 kB / 0.5388 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/0.1233, allocations: 76.92 kB / 0.5388 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.1244, allocations: 0.6635 MB / 0.5395 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.1283, allocations: 2.647 MB / 0.5421 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.1289, allocations: 305.3 kB / 0.5424 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.1293, allocations: 197.4 kB / 0.5426 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.1293, allocations: 7.984 kB / 0.5426 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.1294, allocations: 42.56 kB / 0.5426 GB, free: 1.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.574e-06/0.1294, allocations: 0 / 0.5426 GB, free: 1.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002507/0.1319, allocations: 1.302 MB / 0.5439 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.132, allocations: 89.05 kB / 0.544 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.1324, allocations: 291.2 kB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.1324, allocations: 29.7 kB / 0.5443 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.1326, allocations: 260.4 kB / 0.5445 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.1328, allocations: 146.8 kB / 0.5447 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.1329, allocations: 86.08 kB / 0.5447 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.1331, allocations: 350.7 kB / 0.5451 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.1335, allocations: 188.9 kB / 0.5453 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.1339, allocations: 325.3 kB / 0.5456 GB, free: 14.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.1346, allocations: 0.5506 MB / 0.5461 GB, free: 13.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1346, allocations: 8 kB / 0.5461 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001307/0.1359, allocations: 0.6705 MB / 0.5468 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1359, allocations: 11.94 kB / 0.5468 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009022/0.1368, allocations: 491.4 kB / 0.5472 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004856/0.1373, allocations: 109.6 kB / 0.5473 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.1376, allocations: 83.89 kB / 0.5474 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.1408, allocations: 3.266 MB / 0.5506 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.1411, allocations: 23.98 kB / 0.5506 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.1412, allocations: 16 kB / 0.5507 GB, free: 8.477 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.1414, allocations: 213.6 kB / 0.5509 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.1415, allocations: 35.77 kB / 0.5509 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/0.1423, allocations: 468.6 kB / 0.5513 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.1423, allocations: 20.05 kB / 0.5514 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1423, allocations: 3.938 kB / 0.5514 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1423, allocations: 0 / 0.5514 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.1439, allocations: 1.011 MB / 0.5524 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.1439, allocations: 3.984 kB / 0.5524 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.1443, allocations: 67.89 kB / 0.5524 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1443, allocations: 8 kB / 0.5524 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1443, allocations: 11.94 kB / 0.5524 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1443, allocations: 4 kB / 0.5524 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1443, allocations: 0 / 0.5524 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1453, allocations: 0.7478 MB / 0.5532 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.1455, allocations: 152.8 kB / 0.5533 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.1456, allocations: 8 kB / 0.5533 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.1458, allocations: 19.92 kB / 0.5533 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.1458, allocations: 15.97 kB / 0.5534 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.1458, allocations: 12 kB / 0.5534 GB, free: 5.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.1461, allocations: 203.1 kB / 0.5536 GB, free: 5.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1461, allocations: 0 / 0.5536 GB, free: 5.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005062/0.1466, allocations: 119.9 kB / 0.5537 GB, free: 5.258 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.1481, allocations: 1.328 MB / 0.555 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1493, allocations: 0.6793 MB / 0.5556 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1493, allocations: 0 / 0.5556 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.1496, allocations: 192.9 kB / 0.5558 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.1501, allocations: 77.03 kB / 0.5559 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006108/0.1562, allocations: 4.391 MB / 0.5602 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.1567, allocations: 0.8782 MB / 0.561 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002808/0.157, allocations: 99.19 kB / 0.5611 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.1572, allocations: 147.4 kB / 0.5613 GB, free: 13.17 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1572, allocations: 3.938 kB / 0.5613 GB, free: 13.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04092/0.1982, allocations: 8.269 MB / 0.5694 GB, free: 5.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.58, allocations: 10.17 kB / 0.5694 GB, free: 4.996 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.515248813200742] Failed to read output from testmodel.py, exit status != 0: 10.665945091284811 10.697191202 10.572943913 Calling exit ...