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.001324/0.001324, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001554/0.001554, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1857/0.1857, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.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.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.002289/0.002289, allocations: 78.06 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3172, allocations: 62.46 MB / 0.542 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01281/0.33, allocations: 9 MB / 0.5507 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007148/0.3372, allocations: 3.371 MB / 0.554 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008415/0.338, allocations: 45.56 kB / 0.5541 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.3412, allocations: 1.066 MB / 0.5551 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.344, allocations: 0.9024 MB / 0.556 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.3455, allocations: 0.4967 MB / 0.5565 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.3484, allocations: 1.808 MB / 0.5582 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.3496, allocations: 0.7433 MB / 0.559 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.3508, allocations: 0.7938 MB / 0.5598 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.3523, allocations: 0.911 MB / 0.5606 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.3525, allocations: 108 kB / 0.5607 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.3539, allocations: 0.5771 MB / 0.5613 GB, free: 376 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007343/0.3547, allocations: 0.6585 MB / 0.5619 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.3554, allocations: 0.5795 MB / 0.5625 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.3579, allocations: 1.938 MB / 0.5644 GB, free: 13.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3579, allocations: 0 / 0.5644 GB, free: 13.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3579, allocations: 0 / 0.5644 GB, free: 13.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.3579, allocations: 0 / 0.5644 GB, free: 13.18 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.0031/0.361, allocations: 1.606 MB / 0.566 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3611, allocations: 11.98 kB / 0.566 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/0.3613, allocations: 177.6 kB / 0.5662 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.3631, allocations: 311.8 kB / 0.5665 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/0.3653, allocations: 0.8695 MB / 0.5673 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/0.3654, allocations: 82.09 kB / 0.5674 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.3657, allocations: 139.8 kB / 0.5675 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.3682, allocations: 1.486 MB / 0.569 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.3682, allocations: 11.95 kB / 0.569 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.3683, allocations: 40 kB / 0.569 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000315/0.3686, allocations: 102.1 kB / 0.5691 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.3708, allocations: 1.25 MB / 0.5703 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008601/0.3794, allocations: 4.872 MB / 0.5751 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009692/0.3803, allocations: 0.5587 MB / 0.5756 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.3809, allocations: 379.5 kB / 0.576 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.381, allocations: 12.59 kB / 0.576 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.381, allocations: 43.22 kB / 0.5761 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.915e-06/0.381, allocations: 0 / 0.5761 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007788/0.3888, allocations: 3.213 MB / 0.5792 GB, free: 13.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.3889, allocations: 85.77 kB / 0.5793 GB, free: 13.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.3899, allocations: 0.7545 MB / 0.58 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.39, allocations: 33.7 kB / 0.58 GB, free: 12.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005013/0.3905, allocations: 0.6014 MB / 0.5806 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.3908, allocations: 289.6 kB / 0.5809 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.3911, allocations: 182.6 kB / 0.5811 GB, free: 11.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.3913, allocations: 398.7 kB / 0.5815 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007471/0.392, allocations: 397.7 kB / 0.5818 GB, free: 10.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/0.3929, allocations: 0.6613 MB / 0.5825 GB, free: 10.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.3946, allocations: 1.148 MB / 0.5836 GB, free: 8.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.3946, allocations: 7.938 kB / 0.5836 GB, free: 8.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003666/0.3983, allocations: 1.682 MB / 0.5853 GB, free: 7.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.3983, allocations: 14.95 kB / 0.5853 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002859/0.4012, allocations: 1.29 MB / 0.5865 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.4032, allocations: 0.5769 MB / 0.5871 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.4038, allocations: 175.7 kB / 0.5873 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.4174, allocations: 9.749 MB / 0.5968 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/0.4183, allocations: 55.98 kB / 0.5968 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/0.4184, allocations: 44 kB / 0.5969 GB, free: 10.66 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.0006795/0.4191, allocations: 385.4 kB / 0.5972 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.4192, allocations: 91.39 kB / 0.5973 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.4216, allocations: 1.236 MB / 0.5985 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4216, allocations: 11.98 kB / 0.5986 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4216, allocations: 4 kB / 0.5986 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.4216, allocations: 3.984 kB / 0.5986 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/0.4263, allocations: 2.277 MB / 0.6008 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.515e-06/0.4263, allocations: 4 kB / 0.6008 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.4268, allocations: 103.9 kB / 0.6009 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.428, allocations: 376 kB / 0.6012 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.428, allocations: 27.98 kB / 0.6013 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009277/0.4373, allocations: 8.746 MB / 0.6098 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4373, allocations: 7.969 kB / 0.6098 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.4403, allocations: 1.671 MB / 0.6115 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/0.4409, allocations: 159.2 kB / 0.6116 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.441, allocations: 24 kB / 0.6116 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.4415, allocations: 27.97 kB / 0.6117 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.4416, allocations: 68.47 kB / 0.6117 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.4417, allocations: 20 kB / 0.6117 GB, free: 10.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007083/0.4424, allocations: 0.5029 MB / 0.6122 GB, free: 10.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4424, allocations: 0 / 0.6122 GB, free: 10.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001374/0.4438, allocations: 367.9 kB / 0.6126 GB, free: 9.809 MB / 462.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.003522/0.4473, allocations: 2.279 MB / 0.6148 GB, free: 7.469 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002606/0.4499, allocations: 1.533 MB / 0.6163 GB, free: 5.891 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.4499, allocations: 4 kB / 0.6163 GB, free: 5.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.4516, allocations: 1.068 MB / 0.6173 GB, free: 4.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.4528, allocations: 213 kB / 0.6176 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.4691, allocations: 9.905 MB / 0.6272 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008681/0.47, allocations: 0.6644 MB / 0.6279 GB, free: 9.516 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006096/0.4706, allocations: 223.6 kB / 0.6281 GB, free: 9.293 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005914/0.4712, allocations: 435.3 kB / 0.6285 GB, free: 8.867 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4712, allocations: 0 / 0.6285 GB, free: 8.867 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/0.58, allocations: 26.19 MB / 0.6541 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.59, allocations: 19.88 kB / 0.6541 GB, free: 14.93 MB / 0.4981 GB " [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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.48035960458219] Failed to read output from testmodel.py, exit status != 0: 14.722215109039098 14.73916541 14.377847382 Calling exit ...