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.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.001451/0.001451, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002165/0.002165, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.565/1.565, allocations: 230.6 MB / 254.8 MB, free: 14.88 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.1851/0.1851, allocations: 38.5 MB / 349.4 MB, free: 2.562 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.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",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.0021/0.0021, allocations: 67.91 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1201, allocations: 62.42 MB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01038/0.1305, allocations: 7.607 MB / 0.5448 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005443/0.136, allocations: 3.042 MB / 0.5478 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.1367, allocations: 43.69 kB / 0.5478 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.1388, allocations: 0.7467 MB / 0.5485 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.1407, allocations: 0.7037 MB / 0.5492 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.1418, allocations: 375.2 kB / 0.5496 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.1439, allocations: 1.352 MB / 0.5509 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009888/0.1449, allocations: 0.5725 MB / 0.5515 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009422/0.1459, allocations: 0.5682 MB / 0.552 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.1471, allocations: 0.6695 MB / 0.5527 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.1473, allocations: 76 kB / 0.5527 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1483, allocations: 0.503 MB / 0.5532 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005098/0.1488, allocations: 458.8 kB / 0.5537 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006947/0.1495, allocations: 0.5054 MB / 0.5542 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.1515, allocations: 1.436 MB / 0.5556 GB, free: 4.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1515, allocations: 0 / 0.5556 GB, free: 4.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1515, allocations: 4 kB / 0.5556 GB, free: 4.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.088e-05/0.1515, allocations: 0 / 0.5556 GB, free: 4.816 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.002725/0.1542, allocations: 1.303 MB / 0.5568 GB, free: 3.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1543, allocations: 12.03 kB / 0.5569 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.393e-05/0.1543, allocations: 26.19 kB / 0.5569 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.1545, allocations: 143.6 kB / 0.557 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.1559, allocations: 212.1 kB / 0.5572 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.1575, allocations: 0.7454 MB / 0.5579 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.1576, allocations: 61.94 kB / 0.558 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.1578, allocations: 107.9 kB / 0.5581 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.1596, allocations: 1.088 MB / 0.5592 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.1597, allocations: 4 kB / 0.5592 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.403e-05/0.1598, allocations: 43.92 kB / 0.5592 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/0.1599, allocations: 73.95 kB / 0.5593 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.1615, allocations: 0.8665 MB / 0.5601 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.1677, allocations: 3.986 MB / 0.564 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.1684, allocations: 415.8 kB / 0.5644 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.1688, allocations: 266.9 kB / 0.5647 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.1689, allocations: 8.438 kB / 0.5647 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.1689, allocations: 46.92 kB / 0.5647 GB, free: 11.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/0.1689, allocations: 0 / 0.5647 GB, free: 11.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.003396/0.1723, allocations: 1.731 MB / 0.5664 GB, free: 9.246 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.1724, allocations: 85.55 kB / 0.5665 GB, free: 9.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/0.1731, allocations: 0.59 MB / 0.5671 GB, free: 8.547 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.1732, allocations: 29.7 kB / 0.5671 GB, free: 8.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.1735, allocations: 483.8 kB / 0.5676 GB, free: 8.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.1737, allocations: 198.4 kB / 0.5678 GB, free: 7.836 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.1739, allocations: 146.6 kB / 0.5679 GB, free: 7.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.1741, allocations: 374.8 kB / 0.5683 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.1746, allocations: 253.8 kB / 0.5685 GB, free: 7.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.1752, allocations: 480.9 kB / 0.569 GB, free: 6.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.1762, allocations: 0.7663 MB / 0.5697 GB, free: 5.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.1762, allocations: 8 kB / 0.5697 GB, free: 5.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002242/0.1785, allocations: 1.103 MB / 0.5708 GB, free: 4.492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.1785, allocations: 12.38 kB / 0.5708 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001523/0.18, allocations: 0.7911 MB / 0.5716 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008311/0.1809, allocations: 226.3 kB / 0.5718 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.1814, allocations: 151.7 kB / 0.5719 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00648/0.1879, allocations: 5.675 MB / 0.5775 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.1885, allocations: 35.97 kB / 0.5775 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.1886, allocations: 32 kB / 0.5775 GB, free: 13.11 MB / 446.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.000472/0.189, allocations: 317.4 kB / 0.5778 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.1892, allocations: 75.53 kB / 0.5779 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.1902, allocations: 0.6124 MB / 0.5785 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1903, allocations: 8 kB / 0.5785 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1903, allocations: 0 / 0.5785 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1903, allocations: 3.984 kB / 0.5785 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.193, allocations: 1.482 MB / 0.58 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.193, allocations: 0 / 0.58 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/0.1937, allocations: 127.9 kB / 0.5801 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.1937, allocations: 8.094 kB / 0.5801 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.1937, allocations: 16 kB / 0.5801 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1937, allocations: 7.938 kB / 0.5801 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.1937, allocations: 4 kB / 0.5801 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.195, allocations: 0.9286 MB / 0.581 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.1953, allocations: 192.5 kB / 0.5812 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.1954, allocations: 16 kB / 0.5812 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.1958, allocations: 16.27 kB / 0.5813 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.1958, allocations: 32.39 kB / 0.5813 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.1959, allocations: 16 kB / 0.5813 GB, free: 9.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005578/0.1964, allocations: 431 kB / 0.5817 GB, free: 8.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1964, allocations: 0 / 0.5817 GB, free: 8.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008252/0.1972, allocations: 231.9 kB / 0.5819 GB, free: 8.484 MB / 446.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.001851/0.1991, allocations: 1.523 MB / 0.5834 GB, free: 6.922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.2009, allocations: 1.018 MB / 0.5844 GB, free: 5.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2009, allocations: 0 / 0.5844 GB, free: 5.863 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.2013, allocations: 246.3 kB / 0.5846 GB, free: 5.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.2022, allocations: 150.5 kB / 0.5848 GB, free: 5.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2466/0.4488, allocations: 7.31 MB / 0.5919 GB, free: 49.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.4494, allocations: 1.076 MB / 0.593 GB, free: 48.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005776/0.4499, allocations: 194.9 kB / 0.5932 GB, free: 48.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.4504, allocations: 328.2 kB / 0.5935 GB, free: 48.64 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4504, allocations: 0 / 0.5935 GB, free: 48.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/0.5022, allocations: 16.9 MB / 0.61 GB, free: 43.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.48, allocations: 6.625 kB / 0.61 GB, free: 43.8 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.4144766429672] Failed to read output from testmodel.py, exit status != 0: 14.649269535031635 14.660057042 14.50646916 Calling exit ...