Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001351/0.001351, allocations: 121 kB / 18.5 MB, free: 4.562 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.001665/0.001665, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.1863/0.1863, allocations: 38.5 MB / 349.4 MB, free: 2.602 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.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",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.002093/0.002093, allocations: 67.91 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1059, allocations: 62.42 MB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01255/0.1184, allocations: 9.667 MB / 0.5468 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006862/0.1253, allocations: 3.638 MB / 0.5504 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007904/0.1261, allocations: 47.62 kB / 0.5504 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003137/0.1292, allocations: 1.112 MB / 0.5515 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.1319, allocations: 0.9021 MB / 0.5524 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1333, allocations: 486.9 kB / 0.5528 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.136, allocations: 1.812 MB / 0.5546 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.1373, allocations: 0.767 MB / 0.5554 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.1386, allocations: 0.7899 MB / 0.5561 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.1403, allocations: 0.9617 MB / 0.5571 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.1405, allocations: 104 kB / 0.5572 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.1419, allocations: 0.5849 MB / 0.5577 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007969/0.1427, allocations: 0.6506 MB / 0.5584 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.1439, allocations: 0.6998 MB / 0.5591 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.1469, allocations: 1.927 MB / 0.5609 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1469, allocations: 0 / 0.5609 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1469, allocations: 0 / 0.5609 GB, free: 15.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.653e-05/0.1469, allocations: 0 / 0.5609 GB, free: 15.3 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.003952/0.1509, allocations: 1.678 MB / 0.5626 GB, free: 13.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1509, allocations: 8.031 kB / 0.5626 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.614e-05/0.151, allocations: 34.23 kB / 0.5626 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003366/0.1513, allocations: 173.6 kB / 0.5628 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.1534, allocations: 319.7 kB / 0.5631 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.1556, allocations: 0.9531 MB / 0.564 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.1557, allocations: 82.09 kB / 0.5641 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/0.1561, allocations: 135.9 kB / 0.5642 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.1589, allocations: 1.493 MB / 0.5657 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/0.159, allocations: 7.938 kB / 0.5657 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.1591, allocations: 44 kB / 0.5657 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003312/0.1594, allocations: 98.16 kB / 0.5658 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.1617, allocations: 1.258 MB / 0.5671 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009343/0.171, allocations: 5.635 MB / 0.5726 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.172, allocations: 0.5625 MB / 0.5731 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/0.1726, allocations: 371.8 kB / 0.5735 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.925e-05/0.1727, allocations: 12.55 kB / 0.5735 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.1727, allocations: 43.06 kB / 0.5735 GB, free: 1.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 2.905e-06/0.1727, allocations: 4 kB / 0.5735 GB, free: 1.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.008364/0.1811, allocations: 3.657 MB / 0.5771 GB, free: 14.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.1811, allocations: 85.77 kB / 0.5772 GB, free: 13.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1822, allocations: 0.7353 MB / 0.5779 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.1823, allocations: 41.73 kB / 0.5779 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.1828, allocations: 0.609 MB / 0.5785 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.183, allocations: 281.6 kB / 0.5788 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.1833, allocations: 182.6 kB / 0.579 GB, free: 12.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.1836, allocations: 398.7 kB / 0.5793 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.1842, allocations: 393.8 kB / 0.5797 GB, free: 11.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008922/0.1851, allocations: 0.6651 MB / 0.5804 GB, free: 10.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.1868, allocations: 1.14 MB / 0.5815 GB, free: 9.227 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.1868, allocations: 4 kB / 0.5815 GB, free: 9.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003615/0.1904, allocations: 1.69 MB / 0.5831 GB, free: 7.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1905, allocations: 8 kB / 0.5831 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002827/0.1933, allocations: 1.294 MB / 0.5844 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/0.1953, allocations: 0.5798 MB / 0.585 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.196, allocations: 167.7 kB / 0.5851 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2285/0.4245, allocations: 10.36 MB / 0.5953 GB, free: 46.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.4258, allocations: 49.12 kB / 0.5953 GB, free: 46.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.4259, allocations: 42.92 kB / 0.5953 GB, free: 46.75 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.0007474/0.4266, allocations: 383.1 kB / 0.5957 GB, free: 46.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.4269, allocations: 96.52 kB / 0.5958 GB, free: 46.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.4294, allocations: 1.243 MB / 0.597 GB, free: 46.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4294, allocations: 7.688 kB / 0.597 GB, free: 46.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.4294, allocations: 7.031 kB / 0.597 GB, free: 46.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.4294, allocations: 7.297 kB / 0.597 GB, free: 46.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/0.4341, allocations: 2.394 MB / 0.5994 GB, free: 45.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4341, allocations: 1.781 kB / 0.5994 GB, free: 45.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.4346, allocations: 114.2 kB / 0.5995 GB, free: 45.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.4358, allocations: 374.8 kB / 0.5998 GB, free: 44.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.4359, allocations: 23.53 kB / 0.5999 GB, free: 44.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007748/0.4436, allocations: 9.302 MB / 0.6089 GB, free: 36.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.4436, allocations: 5.406 kB / 0.6089 GB, free: 36.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.4466, allocations: 1.675 MB / 0.6106 GB, free: 36.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.4471, allocations: 233.4 kB / 0.6108 GB, free: 35.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.4472, allocations: 25.75 kB / 0.6108 GB, free: 35.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.4477, allocations: 25.3 kB / 0.6109 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.4479, allocations: 64.02 kB / 0.6109 GB, free: 35.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.448, allocations: 26.88 kB / 0.6109 GB, free: 35.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008111/0.4488, allocations: 0.5038 MB / 0.6114 GB, free: 35.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4488, allocations: 0 / 0.6114 GB, free: 35.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001636/0.4504, allocations: 368.8 kB / 0.6118 GB, free: 35.7 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.003009/0.4534, allocations: 2.264 MB / 0.614 GB, free: 34.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002759/0.4562, allocations: 1.528 MB / 0.6155 GB, free: 33.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.4562, allocations: 1.281 kB / 0.6155 GB, free: 33.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.4578, allocations: 1.079 MB / 0.6165 GB, free: 32.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.4591, allocations: 214.8 kB / 0.6167 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.4724, allocations: 9.896 MB / 0.6264 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.4731, allocations: 1.255 MB / 0.6276 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005278/0.4736, allocations: 217.8 kB / 0.6278 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.474, allocations: 440.2 kB / 0.6283 GB, free: 25.91 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.474, allocations: 4 kB / 0.6283 GB, free: 25.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05471/0.5287, allocations: 25.28 MB / 0.653 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.14, allocations: 11.48 kB / 0.653 GB, free: 0.8555 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.017708536004648] Failed to read output from testmodel.py, exit status != 0: 15.314256492012646 15.342680307 15.191043672 Calling exit ...