Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.597/1.597, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.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.1882/0.1882, allocations: 38.5 MB / 349.4 MB, free: 2.586 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 59.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1338, allocations: 62.42 MB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00859/0.1424, allocations: 4.757 MB / 0.542 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.1453, allocations: 1.382 MB / 0.5434 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.1455, allocations: 15.88 kB / 0.5434 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.1469, allocations: 422.2 kB / 0.5438 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.1475, allocations: 238.7 kB / 0.544 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.148, allocations: 175.6 kB / 0.5442 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.1489, allocations: 0.5568 MB / 0.5447 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.1494, allocations: 265.8 kB / 0.545 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.1499, allocations: 274.9 kB / 0.5452 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000498/0.1504, allocations: 294.9 kB / 0.5455 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.1504, allocations: 32 kB / 0.5455 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000331/0.1508, allocations: 127.8 kB / 0.5457 GB, free: 15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.151, allocations: 187.5 kB / 0.5458 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.1512, allocations: 230.8 kB / 0.5461 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007061/0.1519, allocations: 0.5214 MB / 0.5466 GB, free: 14.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.152, allocations: 4 kB / 0.5466 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.152, allocations: 0 / 0.5466 GB, free: 14.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.152, allocations: 0 / 0.5466 GB, free: 14.06 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001296/0.1533, allocations: 0.7334 MB / 0.5473 GB, free: 13.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1533, allocations: 15.97 kB / 0.5473 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.49e-05/0.1533, allocations: 9.188 kB / 0.5473 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.548e-05/0.1534, allocations: 74.72 kB / 0.5474 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007961/0.1542, allocations: 92.58 kB / 0.5475 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000727/0.1549, allocations: 424.3 kB / 0.5479 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.155, allocations: 29.12 kB / 0.5479 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.1551, allocations: 40 kB / 0.5479 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/0.1559, allocations: 472.8 kB / 0.5484 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.1559, allocations: 11.92 kB / 0.5484 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.156, allocations: 16 kB / 0.5484 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.1561, allocations: 24.98 kB / 0.5484 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.1567, allocations: 339.7 kB / 0.5488 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.1591, allocations: 1.625 MB / 0.5504 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.1595, allocations: 169.1 kB / 0.5505 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.1596, allocations: 101.7 kB / 0.5506 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1597, allocations: 7.922 kB / 0.5506 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.1597, allocations: 38.56 kB / 0.5507 GB, free: 9.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.1597, allocations: 4 kB / 0.5507 GB, free: 9.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001522/0.1612, allocations: 0.7963 MB / 0.5514 GB, free: 8.777 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.1613, allocations: 77.11 kB / 0.5515 GB, free: 8.684 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.1616, allocations: 304.5 kB / 0.5518 GB, free: 8.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1617, allocations: 29.7 kB / 0.5518 GB, free: 8.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.1619, allocations: 256.2 kB / 0.5521 GB, free: 8.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.162, allocations: 83.36 kB / 0.5522 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1621, allocations: 61.66 kB / 0.5522 GB, free: 7.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1622, allocations: 346.8 kB / 0.5525 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1624, allocations: 87.95 kB / 0.5526 GB, free: 7.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.1627, allocations: 200.8 kB / 0.5528 GB, free: 7.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.1631, allocations: 343.7 kB / 0.5531 GB, free: 6.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1632, allocations: 0 / 0.5531 GB, free: 6.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008607/0.164, allocations: 422.1 kB / 0.5535 GB, free: 6.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.164, allocations: 10.66 kB / 0.5536 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005551/0.1646, allocations: 264.2 kB / 0.5538 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/0.165, allocations: 76.78 kB / 0.5539 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.1652, allocations: 63.89 kB / 0.5539 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.1672, allocations: 1.715 MB / 0.5556 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.1675, allocations: 12.06 kB / 0.5556 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.1675, allocations: 16 kB / 0.5556 GB, free: 4.168 MB / 414.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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003884/0.1679, allocations: 201.5 kB / 0.5558 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.168, allocations: 27.81 kB / 0.5559 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.1685, allocations: 271.6 kB / 0.5561 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1685, allocations: 4 kB / 0.5561 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1685, allocations: 0 / 0.5561 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1685, allocations: 7.938 kB / 0.5561 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.1698, allocations: 0.7498 MB / 0.5569 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1698, allocations: 3.938 kB / 0.5569 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.1701, allocations: 55.91 kB / 0.5569 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1701, allocations: 3.938 kB / 0.5569 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.1701, allocations: 12.06 kB / 0.5569 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1701, allocations: 4 kB / 0.5569 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1701, allocations: 0 / 0.5569 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.1708, allocations: 465.4 kB / 0.5574 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1709, allocations: 104.9 kB / 0.5575 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.1709, allocations: 20.27 kB / 0.5575 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.1711, allocations: 0 / 0.5575 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.1711, allocations: 15.98 kB / 0.5575 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1711, allocations: 11.98 kB / 0.5575 GB, free: 2.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.1714, allocations: 215 kB / 0.5577 GB, free: 1.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1714, allocations: 0 / 0.5577 GB, free: 1.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.1718, allocations: 88 kB / 0.5578 GB, free: 1.812 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * Array equations: 0 * 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.0009837/0.1728, allocations: 0.9917 MB / 0.5588 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007507/0.1736, allocations: 362.6 kB / 0.5591 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1736, allocations: 0 / 0.5591 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.1737, allocations: 102.8 kB / 0.5592 GB, free: 328 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.1743, allocations: 65.66 kB / 0.5593 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/0.1794, allocations: 3.544 MB / 0.5628 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/0.1802, allocations: 0.8498 MB / 0.5636 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000224/0.1804, allocations: 70.91 kB / 0.5637 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.1806, allocations: 135.4 kB / 0.5638 GB, free: 11.44 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1806, allocations: 0 / 0.5638 GB, free: 11.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.2127, allocations: 7.303 MB / 0.5709 GB, free: 4.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.78, allocations: 8 kB / 0.5709 GB, free: 4.281 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.869940563978162] Failed to read output from testmodel.py, exit status != 0: 10.926149485982023 10.948428641 10.792248217 Calling exit ...