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.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.001884/0.001884, allocations: 112.2 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.002556/0.002556, allocations: 218.9 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.501/1.501, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1883/0.1883, allocations: 38.51 MB / 349.4 MB, free: 2.574 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_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.002244/0.002244, allocations: 65.22 kB / 487.8 MB, free: 32.37 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1177, allocations: 62.43 MB / 0.5374 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01081/0.1285, allocations: 7.605 MB / 0.5448 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007889/0.1364, allocations: 3.046 MB / 0.5478 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008384/0.1373, allocations: 35.69 kB / 0.5478 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.1401, allocations: 0.7506 MB / 0.5485 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.1423, allocations: 0.6998 MB / 0.5492 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1435, allocations: 375.2 kB / 0.5496 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002455/0.1459, allocations: 1.352 MB / 0.5509 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.1469, allocations: 0.5686 MB / 0.5515 GB, free: 11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.148, allocations: 0.576 MB / 0.552 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.1492, allocations: 0.6696 MB / 0.5527 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.1493, allocations: 72 kB / 0.5527 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.1504, allocations: 0.4991 MB / 0.5532 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005517/0.151, allocations: 462.7 kB / 0.5537 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.1517, allocations: 0.5132 MB / 0.5542 GB, free: 8.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.1538, allocations: 1.432 MB / 0.5556 GB, free: 6.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1538, allocations: 0 / 0.5556 GB, free: 6.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1538, allocations: 0 / 0.5556 GB, free: 6.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.1538, allocations: 0 / 0.5556 GB, free: 6.773 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.002788/0.1566, allocations: 1.313 MB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1566, allocations: 8.031 kB / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.477e-05/0.1567, allocations: 22.19 kB / 0.5569 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/0.157, allocations: 139.6 kB / 0.557 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.1584, allocations: 220.1 kB / 0.5572 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.1603, allocations: 0.7377 MB / 0.558 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.1604, allocations: 69.91 kB / 0.558 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/0.1607, allocations: 99.88 kB / 0.5581 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.1625, allocations: 1.096 MB / 0.5592 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.1626, allocations: 0 / 0.5592 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/0.1626, allocations: 32 kB / 0.5592 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001894/0.1628, allocations: 77.83 kB / 0.5593 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.1646, allocations: 0.8704 MB / 0.5601 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006487/0.1711, allocations: 3.99 MB / 0.564 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.1719, allocations: 411.8 kB / 0.5644 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/0.1723, allocations: 269.9 kB / 0.5647 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.1723, allocations: 8.438 kB / 0.5647 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.1724, allocations: 42.94 kB / 0.5647 GB, free: 13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/0.1724, allocations: 0 / 0.5647 GB, free: 13 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.003716/0.1761, allocations: 1.739 MB / 0.5664 GB, free: 11.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.1762, allocations: 81.55 kB / 0.5665 GB, free: 11.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.177, allocations: 0.5861 MB / 0.5671 GB, free: 10.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.177, allocations: 33.7 kB / 0.5671 GB, free: 10.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.1774, allocations: 487.7 kB / 0.5676 GB, free: 9.988 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.1776, allocations: 190.4 kB / 0.5678 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.1778, allocations: 146.7 kB / 0.5679 GB, free: 9.652 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.178, allocations: 382.8 kB / 0.5683 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.1785, allocations: 253.8 kB / 0.5685 GB, free: 9.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.1791, allocations: 473 kB / 0.569 GB, free: 8.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.1802, allocations: 0.7741 MB / 0.5697 GB, free: 7.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1802, allocations: 4 kB / 0.5697 GB, free: 7.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002385/0.1826, allocations: 1.111 MB / 0.5708 GB, free: 6.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1826, allocations: 8 kB / 0.5708 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0015/0.1841, allocations: 0.7914 MB / 0.5716 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007977/0.1849, allocations: 218.3 kB / 0.5718 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.1855, allocations: 159.7 kB / 0.5719 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.1926, allocations: 5.666 MB / 0.5775 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.1931, allocations: 39.97 kB / 0.5775 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/0.1932, allocations: 31.98 kB / 0.5775 GB, free: 15.08 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.000469/0.1937, allocations: 313.3 kB / 0.5778 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1938, allocations: 71.53 kB / 0.5779 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.1949, allocations: 0.6086 MB / 0.5785 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1949, allocations: 8 kB / 0.5785 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1949, allocations: 0 / 0.5785 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.1949, allocations: 3.984 kB / 0.5785 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.1977, allocations: 1.49 MB / 0.58 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1977, allocations: 4 kB / 0.58 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006693/0.1984, allocations: 119.9 kB / 0.5801 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.1984, allocations: 7.938 kB / 0.5801 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.1984, allocations: 23.92 kB / 0.5801 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.1984, allocations: 8.156 kB / 0.5801 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1984, allocations: 0 / 0.5801 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.1998, allocations: 0.9364 MB / 0.581 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.2001, allocations: 188.5 kB / 0.5812 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/0.2002, allocations: 11.98 kB / 0.5812 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.2005, allocations: 23.97 kB / 0.5813 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.2006, allocations: 32.39 kB / 0.5813 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.2006, allocations: 16 kB / 0.5813 GB, free: 11.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005595/0.2012, allocations: 419 kB / 0.5817 GB, free: 10.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2012, allocations: 192 / 0.5817 GB, free: 10.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008903/0.2021, allocations: 239.9 kB / 0.5819 GB, free: 10.45 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.001921/0.204, allocations: 1.518 MB / 0.5834 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.2059, allocations: 1.022 MB / 0.5844 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2059, allocations: 320 / 0.5844 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.2063, allocations: 246.3 kB / 0.5846 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.2072, allocations: 160.6 kB / 0.5848 GB, free: 7.434 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.2191, allocations: 7.3 MB / 0.5919 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.2199, allocations: 1.079 MB / 0.593 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005172/0.2204, allocations: 197.8 kB / 0.5932 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.2208, allocations: 323.3 kB / 0.5935 GB, free: 14.14 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2208, allocations: 0 / 0.5935 GB, free: 14.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3026/0.5235, allocations: 16.91 MB / 0.61 GB, free: 64.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.25, allocations: 8.188 kB / 0.61 GB, free: 64.56 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.24603737000143] Failed to read output from testmodel.py, exit status != 0: 14.416664724005386 14.432715098 14.275622153 Calling exit ...