Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001706/0.001706, allocations: 124.8 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.001955/0.001955, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.42/1.42, allocations: 225.6 MB / 249.1 MB, free: 3.629 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.1829/0.1829, allocations: 38.5 MB / 342.5 MB, free: 8.059 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.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 70.98 kB / 478.6 MB, free: 33.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1238, allocations: 61.24 MB / 0.5272 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01091/0.1347, allocations: 7.595 MB / 0.5346 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005946/0.1407, allocations: 2.999 MB / 0.5376 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.1415, allocations: 27.81 kB / 0.5376 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.144, allocations: 0.7428 MB / 0.5383 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003242/0.1472, allocations: 0.6998 MB / 0.539 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1491, allocations: 383.2 kB / 0.5394 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.1522, allocations: 1.348 MB / 0.5407 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.1535, allocations: 0.5686 MB / 0.5412 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.1549, allocations: 0.5681 MB / 0.5418 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.1563, allocations: 0.6657 MB / 0.5424 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.1566, allocations: 75.94 kB / 0.5425 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.1579, allocations: 0.4991 MB / 0.543 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006631/0.1586, allocations: 450.8 kB / 0.5434 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008432/0.1594, allocations: 0.5131 MB / 0.5439 GB, free: 320 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.1618, allocations: 1.425 MB / 0.5453 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1618, allocations: 0 / 0.5453 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1618, allocations: 4 kB / 0.5453 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.1618, allocations: 0 / 0.5453 GB, free: 14.88 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.002743/0.1646, allocations: 1.303 MB / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1646, allocations: 15.89 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/0.1648, allocations: 135.7 kB / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.1661, allocations: 216.1 kB / 0.5469 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.168, allocations: 0.7492 MB / 0.5477 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.1681, allocations: 66.11 kB / 0.5477 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.1683, allocations: 91.98 kB / 0.5478 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.1702, allocations: 1.096 MB / 0.5489 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.1703, allocations: 7.891 kB / 0.5489 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.1703, allocations: 32 kB / 0.5489 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/0.1705, allocations: 73.95 kB / 0.549 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.1721, allocations: 0.8743 MB / 0.5499 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/0.1785, allocations: 3.982 MB / 0.5538 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.1792, allocations: 419.8 kB / 0.5542 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.1796, allocations: 253.8 kB / 0.5544 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.1797, allocations: 12.44 kB / 0.5544 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.1797, allocations: 46.92 kB / 0.5544 GB, free: 5.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.735e-06/0.1797, allocations: 0 / 0.5544 GB, free: 5.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003378/0.1831, allocations: 1.735 MB / 0.5561 GB, free: 3.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.1832, allocations: 81.55 kB / 0.5562 GB, free: 3.242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/0.1839, allocations: 0.5938 MB / 0.5568 GB, free: 2.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.184, allocations: 33.7 kB / 0.5568 GB, free: 2.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.1844, allocations: 475.8 kB / 0.5573 GB, free: 2.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.1846, allocations: 198.3 kB / 0.5575 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.1848, allocations: 138.6 kB / 0.5576 GB, free: 1.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.185, allocations: 386.8 kB / 0.558 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.1855, allocations: 253.8 kB / 0.5582 GB, free: 1.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.1861, allocations: 473 kB / 0.5587 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.1872, allocations: 0.7781 MB / 0.5594 GB, free: 15.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1872, allocations: 0 / 0.5594 GB, free: 15.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002346/0.1896, allocations: 1.111 MB / 0.5605 GB, free: 14.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.1896, allocations: 8 kB / 0.5605 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001546/0.1912, allocations: 0.7952 MB / 0.5613 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007777/0.1919, allocations: 218.4 kB / 0.5615 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.1925, allocations: 155.7 kB / 0.5617 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.1993, allocations: 5.679 MB / 0.5672 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.1999, allocations: 39.97 kB / 0.5672 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.1999, allocations: 28 kB / 0.5673 GB, free: 7.207 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.0004986/0.2004, allocations: 309.4 kB / 0.5676 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.2006, allocations: 71.53 kB / 0.5676 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.2017, allocations: 0.6164 MB / 0.5682 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2017, allocations: 4 kB / 0.5682 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2017, allocations: 0 / 0.5682 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.2017, allocations: 3.984 kB / 0.5682 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.2046, allocations: 1.482 MB / 0.5697 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2046, allocations: 4 kB / 0.5697 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.2052, allocations: 127.8 kB / 0.5698 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.2052, allocations: 7.938 kB / 0.5698 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/0.2053, allocations: 16 kB / 0.5698 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.2053, allocations: 4 kB / 0.5698 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2053, allocations: 4.156 kB / 0.5698 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.2067, allocations: 0.9325 MB / 0.5708 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.2071, allocations: 204.4 kB / 0.5709 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.2072, allocations: 12 kB / 0.571 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.2075, allocations: 19.98 kB / 0.571 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.2076, allocations: 28.39 kB / 0.571 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.2076, allocations: 16 kB / 0.571 GB, free: 3.211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005454/0.2081, allocations: 423 kB / 0.5714 GB, free: 2.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2081, allocations: 4 kB / 0.5714 GB, free: 2.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008708/0.209, allocations: 227.9 kB / 0.5716 GB, free: 2.578 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.001901/0.2109, allocations: 1.526 MB / 0.5731 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.2128, allocations: 0.999 MB / 0.5741 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2128, allocations: 3.938 kB / 0.5741 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.2132, allocations: 250.6 kB / 0.5744 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.214, allocations: 146 kB / 0.5745 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.2255, allocations: 7.327 MB / 0.5817 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/0.2264, allocations: 1.071 MB / 0.5827 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005638/0.227, allocations: 189.9 kB / 0.5829 GB, free: 6.605 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.2274, allocations: 327.3 kB / 0.5832 GB, free: 6.285 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2274, allocations: 0 / 0.5832 GB, free: 6.285 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07913/0.3066, allocations: 16.89 MB / 0.5997 GB, free: 5.582 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.5, allocations: 0 / 0.5997 GB, free: 5.582 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.49097394524142] Failed to read output from testmodel.py, exit status != 0: 13.607691300101578 13.83617909 13.669695778 Calling exit ...