Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.001413/0.001413, allocations: 124.7 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.001289/0.001289, 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.447/1.447, 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-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1813/0.1813, allocations: 38.51 MB / 342.5 MB, free: 8.082 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-master/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.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.11 kB / 478.6 MB, free: 33.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1195, allocations: 61.25 MB / 0.5272 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01014/0.1296, allocations: 7.583 MB / 0.5346 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006207/0.1358, allocations: 3.002 MB / 0.5376 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009681/0.1368, allocations: 23.88 kB / 0.5376 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.1393, allocations: 0.739 MB / 0.5383 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.1417, allocations: 0.7037 MB / 0.539 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.143, allocations: 379.2 kB / 0.5394 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.1455, allocations: 1.356 MB / 0.5407 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.1466, allocations: 0.5608 MB / 0.5412 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.1476, allocations: 0.5682 MB / 0.5418 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.1487, allocations: 0.6657 MB / 0.5424 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.1489, allocations: 76 kB / 0.5425 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.1499, allocations: 0.4913 MB / 0.543 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004998/0.1504, allocations: 458.7 kB / 0.5434 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.1511, allocations: 0.5131 MB / 0.5439 GB, free: 84 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.1531, allocations: 1.425 MB / 0.5453 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1531, allocations: 0 / 0.5453 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1531, allocations: 0 / 0.5453 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.1531, allocations: 4 kB / 0.5453 GB, free: 14.64 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002549/0.1557, allocations: 1.303 MB / 0.5466 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1557, allocations: 15.89 kB / 0.5466 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002526/0.156, allocations: 139.6 kB / 0.5467 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.1572, allocations: 212.1 kB / 0.547 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.159, allocations: 0.757 MB / 0.5477 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.1591, allocations: 62.12 kB / 0.5477 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.1593, allocations: 99.97 kB / 0.5478 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.1611, allocations: 1.096 MB / 0.5489 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.1611, allocations: 7.953 kB / 0.5489 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.1612, allocations: 31.98 kB / 0.549 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.1614, allocations: 77.95 kB / 0.549 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.1629, allocations: 0.8665 MB / 0.5499 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006242/0.1692, allocations: 3.979 MB / 0.5538 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.1699, allocations: 419.8 kB / 0.5542 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.1703, allocations: 253.8 kB / 0.5544 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.1704, allocations: 16.42 kB / 0.5544 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.1704, allocations: 38.94 kB / 0.5545 GB, free: 4.898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 3.026e-06/0.1704, allocations: 0 / 0.5545 GB, free: 4.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003523/0.1739, allocations: 1.735 MB / 0.5561 GB, free: 3.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.174, allocations: 85.48 kB / 0.5562 GB, free: 3.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.1748, allocations: 0.5939 MB / 0.5568 GB, free: 2.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.1749, allocations: 37.7 kB / 0.5568 GB, free: 2.363 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004799/0.1754, allocations: 479.7 kB / 0.5573 GB, free: 1.887 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.1756, allocations: 194.3 kB / 0.5575 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.1759, allocations: 146.6 kB / 0.5576 GB, free: 1.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002476/0.1761, allocations: 374.8 kB / 0.558 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.1765, allocations: 253.8 kB / 0.5582 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.1772, allocations: 481 kB / 0.5587 GB, free: 364 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.1783, allocations: 0.7703 MB / 0.5594 GB, free: 15.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.1783, allocations: 0 / 0.5594 GB, free: 15.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002195/0.1805, allocations: 1.109 MB / 0.5605 GB, free: 14.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1805, allocations: 11.94 kB / 0.5605 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001491/0.182, allocations: 0.791 MB / 0.5613 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007357/0.1827, allocations: 226.5 kB / 0.5615 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.1833, allocations: 151.8 kB / 0.5617 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006268/0.1895, allocations: 5.684 MB / 0.5672 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.1901, allocations: 35.97 kB / 0.5673 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.1902, allocations: 28 kB / 0.5673 GB, free: 6.969 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004796/0.1906, allocations: 309.5 kB / 0.5676 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.1908, allocations: 71.53 kB / 0.5676 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.1919, allocations: 0.6088 MB / 0.5682 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1919, allocations: 4 kB / 0.5682 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1919, allocations: 0 / 0.5682 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1919, allocations: 11.92 kB / 0.5683 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.1947, allocations: 1.49 MB / 0.5697 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1947, allocations: 0 / 0.5697 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.1954, allocations: 132 kB / 0.5698 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.1954, allocations: 3.938 kB / 0.5698 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/0.1954, allocations: 16 kB / 0.5699 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.1954, allocations: 4 kB / 0.5699 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.1955, allocations: 3.984 kB / 0.5699 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.1968, allocations: 0.9364 MB / 0.5708 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.1972, allocations: 192.5 kB / 0.571 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.1973, allocations: 16 kB / 0.571 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.1976, allocations: 15.98 kB / 0.571 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.1977, allocations: 40.33 kB / 0.571 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.1977, allocations: 16 kB / 0.571 GB, free: 2.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005403/0.1983, allocations: 423 kB / 0.5714 GB, free: 2.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1983, allocations: 0 / 0.5714 GB, free: 2.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008708/0.1992, allocations: 231.9 kB / 0.5717 GB, free: 2.332 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (54): * Single equations (assignments): 53 * 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.001934/0.2011, allocations: 1.52 MB / 0.5731 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.203, allocations: 1.002 MB / 0.5741 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.203, allocations: 4 kB / 0.5741 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.2035, allocations: 250.2 kB / 0.5744 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00088/0.2044, allocations: 153.5 kB / 0.5745 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.2161, allocations: 7.316 MB / 0.5817 GB, free: 7.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/0.217, allocations: 1.082 MB / 0.5827 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.2176, allocations: 185.9 kB / 0.5829 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/0.2181, allocations: 331.3 kB / 0.5832 GB, free: 6.039 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2181, allocations: 3.938 kB / 0.5832 GB, free: 6.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05474/0.2729, allocations: 16.88 MB / 0.5997 GB, free: 5.348 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/13.88, allocations: 14.84 kB / 0.5997 GB, free: 5.336 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.00847563892603] Failed to read output from testmodel.py, exit status != 0: 13.986885458230972 14.253219357 14.097269435 Calling exit ...