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.001765/0.001765, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002153/0.002153, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1866/0.1866, allocations: 38.53 MB / 352.5 MB, free: 12.54 MB / 286.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_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.002119/0.002119, allocations: 63.91 kB / 492.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3331, allocations: 62.47 MB / 0.542 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01233/0.3454, allocations: 9.794 MB / 0.5516 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006626/0.3521, allocations: 3.656 MB / 0.5552 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006884/0.3527, allocations: 45.66 kB / 0.5552 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.3559, allocations: 1.134 MB / 0.5563 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.3585, allocations: 0.9174 MB / 0.5572 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.36, allocations: 481.8 kB / 0.5577 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.3629, allocations: 1.815 MB / 0.5594 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.3643, allocations: 0.7551 MB / 0.5602 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.3659, allocations: 0.786 MB / 0.5609 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.3679, allocations: 0.9696 MB / 0.5619 GB, free: 96 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.3682, allocations: 104 kB / 0.562 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.3697, allocations: 0.6278 MB / 0.5626 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007463/0.3704, allocations: 0.6506 MB / 0.5632 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008723/0.3713, allocations: 0.7037 MB / 0.5639 GB, free: 14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.3738, allocations: 1.919 MB / 0.5658 GB, free: 12.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3738, allocations: 0 / 0.5658 GB, free: 12.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3738, allocations: 0 / 0.5658 GB, free: 12.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.3738, allocations: 0 / 0.5658 GB, free: 12.08 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.003218/0.377, allocations: 1.616 MB / 0.5674 GB, free: 10.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3771, allocations: 11.98 kB / 0.5674 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.3773, allocations: 173.6 kB / 0.5675 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.3791, allocations: 315.7 kB / 0.5678 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.3812, allocations: 0.8734 MB / 0.5687 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.3813, allocations: 82.09 kB / 0.5688 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003323/0.3816, allocations: 131.9 kB / 0.5689 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.3841, allocations: 1.486 MB / 0.5704 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-05/0.3841, allocations: 15.88 kB / 0.5704 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3842, allocations: 44 kB / 0.5704 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003063/0.3845, allocations: 102.2 kB / 0.5705 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.3868, allocations: 1.258 MB / 0.5717 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008575/0.3953, allocations: 5.527 MB / 0.5771 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/0.3963, allocations: 0.5657 MB / 0.5777 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.3969, allocations: 380 kB / 0.578 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.397, allocations: 12.64 kB / 0.5781 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.397, allocations: 43.16 kB / 0.5781 GB, free: 14.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 2.445e-06/0.397, allocations: 0 / 0.5781 GB, free: 14.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.007671/0.4047, allocations: 3.217 MB / 0.5812 GB, free: 11.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.4047, allocations: 89.77 kB / 0.5813 GB, free: 11.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.4058, allocations: 0.7313 MB / 0.582 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/0.4058, allocations: 41.7 kB / 0.5821 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/0.4063, allocations: 0.6013 MB / 0.5827 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.4066, allocations: 281.7 kB / 0.5829 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.4069, allocations: 186.5 kB / 0.5831 GB, free: 9.715 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.4071, allocations: 406.7 kB / 0.5835 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006363/0.4078, allocations: 389.8 kB / 0.5839 GB, free: 8.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009151/0.4087, allocations: 0.6613 MB / 0.5845 GB, free: 8.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.4104, allocations: 1.144 MB / 0.5856 GB, free: 6.883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.4104, allocations: 4 kB / 0.5856 GB, free: 6.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003788/0.4142, allocations: 1.682 MB / 0.5873 GB, free: 5.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.4142, allocations: 10.97 kB / 0.5873 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002967/0.4172, allocations: 1.29 MB / 0.5886 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/0.4193, allocations: 0.5769 MB / 0.5891 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.42, allocations: 175.7 kB / 0.5893 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.4339, allocations: 9.945 MB / 0.599 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.4347, allocations: 47.92 kB / 0.599 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.4348, allocations: 40 kB / 0.5991 GB, free: 8.59 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.0007051/0.4355, allocations: 385.4 kB / 0.5995 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.4357, allocations: 99.33 kB / 0.5995 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.4383, allocations: 1.24 MB / 0.6008 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.4383, allocations: 8 kB / 0.6008 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.4383, allocations: 8.172 kB / 0.6008 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4383, allocations: 0 / 0.6008 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/0.4432, allocations: 2.367 MB / 0.6031 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.4432, allocations: 0 / 0.6031 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.4437, allocations: 111.8 kB / 0.6032 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.445, allocations: 380 kB / 0.6036 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/0.445, allocations: 23.98 kB / 0.6036 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009575/0.4546, allocations: 8.801 MB / 0.6122 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4546, allocations: 4 kB / 0.6122 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.4577, allocations: 1.675 MB / 0.6138 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.4583, allocations: 155.2 kB / 0.614 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.4586, allocations: 31.89 kB / 0.614 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.4592, allocations: 27.97 kB / 0.614 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.4593, allocations: 68.47 kB / 0.6141 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.4594, allocations: 20 kB / 0.6141 GB, free: 8.438 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009863/0.4604, allocations: 0.5068 MB / 0.6146 GB, free: 7.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4604, allocations: 0 / 0.6146 GB, free: 7.934 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001708/0.4621, allocations: 367.9 kB / 0.6149 GB, free: 7.574 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.003756/0.4659, allocations: 2.261 MB / 0.6172 GB, free: 5.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.4687, allocations: 1.532 MB / 0.6186 GB, free: 3.672 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4687, allocations: 0 / 0.6186 GB, free: 3.672 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.4705, allocations: 1.076 MB / 0.6197 GB, free: 2.527 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.4717, allocations: 205.5 kB / 0.6199 GB, free: 2.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.4897, allocations: 9.911 MB / 0.6296 GB, free: 8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.491, allocations: 1.262 MB / 0.6308 GB, free: 6.707 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006465/0.4917, allocations: 223.6 kB / 0.631 GB, free: 6.484 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006956/0.4924, allocations: 439.3 kB / 0.6314 GB, free: 6.055 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4924, allocations: 0 / 0.6314 GB, free: 6.055 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08275/0.5751, allocations: 26.1 MB / 0.6569 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/15.61, allocations: 3.938 kB / 0.6569 GB, free: 12.13 MB / 0.4981 GB " [Timeout remaining time 644] (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.491737171076238] Failed to read output from testmodel.py, exit status != 0: 15.749311422929168 15.766170536 15.388707791 Calling exit ...