Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001396/0.001396, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001417/0.001417, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.502/1.502, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.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.2044/0.2044, allocations: 38.52 MB / 348.7 MB, free: 2.742 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.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.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",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.00202/0.00202, allocations: 63.89 kB / 487.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.116, allocations: 62.42 MB / 0.5367 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01221/0.1282, allocations: 9.667 MB / 0.5461 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006956/0.1352, allocations: 3.642 MB / 0.5497 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008634/0.136, allocations: 47.62 kB / 0.5497 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.1392, allocations: 1.112 MB / 0.5508 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.1416, allocations: 0.9021 MB / 0.5517 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.1429, allocations: 483 kB / 0.5522 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002495/0.1454, allocations: 1.808 MB / 0.5539 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.1465, allocations: 0.7748 MB / 0.5547 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.1477, allocations: 0.7821 MB / 0.5555 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.1491, allocations: 0.9656 MB / 0.5564 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.1493, allocations: 104 kB / 0.5565 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.1504, allocations: 0.581 MB / 0.5571 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006624/0.1511, allocations: 0.6506 MB / 0.5577 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008234/0.1519, allocations: 0.6998 MB / 0.5584 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.1542, allocations: 1.923 MB / 0.5603 GB, free: 15.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1542, allocations: 4 kB / 0.5603 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1542, allocations: 0 / 0.5603 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.324e-05/0.1543, allocations: 4 kB / 0.5603 GB, free: 15.32 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003184/0.1575, allocations: 1.677 MB / 0.5619 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1575, allocations: 8.031 kB / 0.5619 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002214/0.1577, allocations: 177.6 kB / 0.5621 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.1597, allocations: 311.8 kB / 0.5624 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.1617, allocations: 0.961 MB / 0.5633 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.1618, allocations: 78.09 kB / 0.5634 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.1621, allocations: 135.9 kB / 0.5635 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.1647, allocations: 1.493 MB / 0.565 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/0.1648, allocations: 11.95 kB / 0.565 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.1649, allocations: 43.98 kB / 0.565 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003471/0.1652, allocations: 98.16 kB / 0.5651 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.1675, allocations: 1.262 MB / 0.5664 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008809/0.1763, allocations: 5.635 MB / 0.5719 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.1773, allocations: 0.5547 MB / 0.5724 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.1779, allocations: 379.8 kB / 0.5728 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.368e-05/0.1779, allocations: 16.48 kB / 0.5728 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.1779, allocations: 47.06 kB / 0.5728 GB, free: 1.898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 3.246e-06/0.1779, allocations: 0 / 0.5728 GB, free: 1.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.008907/0.1869, allocations: 3.661 MB / 0.5764 GB, free: 14.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.1869, allocations: 89.73 kB / 0.5765 GB, free: 13.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.188, allocations: 0.7353 MB / 0.5772 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.1881, allocations: 37.7 kB / 0.5772 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005375/0.1886, allocations: 0.6013 MB / 0.5778 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.189, allocations: 281.6 kB / 0.5781 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.1893, allocations: 182.6 kB / 0.5783 GB, free: 12.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.1895, allocations: 406.7 kB / 0.5787 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.1902, allocations: 385.8 kB / 0.579 GB, free: 11.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/0.191, allocations: 0.6651 MB / 0.5797 GB, free: 10.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.1927, allocations: 1.152 MB / 0.5808 GB, free: 9.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1927, allocations: 0 / 0.5808 GB, free: 9.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003654/0.1964, allocations: 1.686 MB / 0.5824 GB, free: 7.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.1964, allocations: 12 kB / 0.5825 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002814/0.1992, allocations: 1.29 MB / 0.5837 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.2013, allocations: 0.5769 MB / 0.5843 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.2019, allocations: 171.7 kB / 0.5844 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2431/0.445, allocations: 10.34 MB / 0.5945 GB, free: 46.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008916/0.4459, allocations: 50.56 kB / 0.5946 GB, free: 46.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/0.446, allocations: 42.17 kB / 0.5946 GB, free: 46.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000658/0.4467, allocations: 387.2 kB / 0.595 GB, free: 46.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.4469, allocations: 95.56 kB / 0.5951 GB, free: 46.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.4494, allocations: 1.235 MB / 0.5963 GB, free: 45.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.4494, allocations: 10.84 kB / 0.5963 GB, free: 45.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4495, allocations: 4.781 kB / 0.5963 GB, free: 45.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4495, allocations: 6.234 kB / 0.5963 GB, free: 45.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/0.4542, allocations: 2.394 MB / 0.5987 GB, free: 44.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.4542, allocations: 2.906 kB / 0.5987 GB, free: 44.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/0.4547, allocations: 109.7 kB / 0.5988 GB, free: 44.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4559, allocations: 380.7 kB / 0.5991 GB, free: 44.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/0.456, allocations: 26.22 kB / 0.5992 GB, free: 44.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007196/0.4632, allocations: 9.306 MB / 0.6082 GB, free: 36.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4632, allocations: 2.188 kB / 0.6082 GB, free: 36.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.4662, allocations: 1.678 MB / 0.6099 GB, free: 35.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.4666, allocations: 232.8 kB / 0.6101 GB, free: 35.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.4667, allocations: 28.25 kB / 0.6101 GB, free: 35.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.4672, allocations: 21.47 kB / 0.6102 GB, free: 35.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.4674, allocations: 64.77 kB / 0.6102 GB, free: 35.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.4674, allocations: 22.7 kB / 0.6102 GB, free: 35.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007061/0.4681, allocations: 0.5078 MB / 0.6107 GB, free: 35.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4681, allocations: 1.062 kB / 0.6107 GB, free: 35.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001627/0.4697, allocations: 369.4 kB / 0.6111 GB, free: 35.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003194/0.4729, allocations: 2.271 MB / 0.6133 GB, free: 34.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.4753, allocations: 1.527 MB / 0.6148 GB, free: 33.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4753, allocations: 3 kB / 0.6148 GB, free: 33.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.4768, allocations: 1.068 MB / 0.6158 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.478, allocations: 215.9 kB / 0.616 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.4923, allocations: 9.904 MB / 0.6257 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.493, allocations: 1.252 MB / 0.6269 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005085/0.4935, allocations: 217.5 kB / 0.6271 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/0.4939, allocations: 439.1 kB / 0.6276 GB, free: 25.73 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4939, allocations: 0 / 0.6276 GB, free: 25.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/0.557, allocations: 25.26 MB / 0.6522 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.69, allocations: 4 kB / 0.6522 GB, free: 0.9297 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.742141511756927] Failed to read output from testmodel.py, exit status != 0: 14.801931803114712 14.816813581 14.659206476 Calling exit ...