Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001443/0.001443, allocations: 111.9 kB / 20.43 MB, free: 1.473 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.001645/0.001645, allocations: 212 kB / 23.74 MB, free: 4.688 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.184/0.184, allocations: 38.53 MB / 352.5 MB, free: 12.56 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.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",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.002047/0.002047, allocations: 63.89 kB / 492.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3463, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01384/0.3601, allocations: 7.729 MB / 0.5496 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008374/0.3685, allocations: 3.064 MB / 0.5526 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.3696, allocations: 37.59 kB / 0.5526 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.3729, allocations: 0.7609 MB / 0.5533 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.3766, allocations: 0.712 MB / 0.554 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.3787, allocations: 384.1 kB / 0.5544 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003555/0.3822, allocations: 1.356 MB / 0.5557 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.3838, allocations: 0.5546 MB / 0.5563 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.3855, allocations: 0.5701 MB / 0.5568 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.3874, allocations: 0.6754 MB / 0.5575 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.3877, allocations: 75.84 kB / 0.5576 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.3896, allocations: 0.5342 MB / 0.5581 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008818/0.3905, allocations: 458.7 kB / 0.5585 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.3918, allocations: 0.5132 MB / 0.559 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003211/0.395, allocations: 1.428 MB / 0.5604 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.395, allocations: 7.938 kB / 0.5604 GB, free: 1.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.395, allocations: 4 kB / 0.5604 GB, free: 1.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.596e-05/0.395, allocations: 0 / 0.5604 GB, free: 1.629 MB / 398.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.003636/0.3987, allocations: 1.232 MB / 0.5616 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.3987, allocations: 15.98 kB / 0.5616 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002412/0.399, allocations: 131.7 kB / 0.5618 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.4009, allocations: 224 kB / 0.562 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.4029, allocations: 0.6732 MB / 0.5626 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/0.403, allocations: 66.11 kB / 0.5627 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.4032, allocations: 95.92 kB / 0.5628 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.405, allocations: 1.096 MB / 0.5639 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.405, allocations: 4 kB / 0.5639 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/0.4051, allocations: 36 kB / 0.5639 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.4053, allocations: 77.95 kB / 0.564 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.4069, allocations: 0.8665 MB / 0.5648 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006144/0.4131, allocations: 3.891 MB / 0.5686 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.4138, allocations: 342.7 kB / 0.5689 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.4143, allocations: 255 kB / 0.5692 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.162e-05/0.4144, allocations: 12.44 kB / 0.5692 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.4145, allocations: 46.86 kB / 0.5692 GB, free: 8.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.825e-06/0.4145, allocations: 0 / 0.5692 GB, free: 8.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003689/0.4181, allocations: 1.66 MB / 0.5709 GB, free: 6.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.4182, allocations: 81.55 kB / 0.5709 GB, free: 6.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.4191, allocations: 0.59 MB / 0.5715 GB, free: 5.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.4192, allocations: 37.69 kB / 0.5716 GB, free: 5.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.4197, allocations: 483.8 kB / 0.572 GB, free: 5.336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.4199, allocations: 198.3 kB / 0.5722 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.4201, allocations: 138.6 kB / 0.5723 GB, free: 4.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002977/0.4204, allocations: 382.8 kB / 0.5727 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.4209, allocations: 253.8 kB / 0.5729 GB, free: 4.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.4215, allocations: 476.9 kB / 0.5734 GB, free: 3.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.4227, allocations: 0.7792 MB / 0.5742 GB, free: 2.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4227, allocations: 0 / 0.5742 GB, free: 2.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002287/0.425, allocations: 1.033 MB / 0.5752 GB, free: 1.879 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.425, allocations: 15 kB / 0.5752 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001442/0.4264, allocations: 0.7142 MB / 0.5759 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/0.4272, allocations: 226.3 kB / 0.5761 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.4278, allocations: 151.8 kB / 0.5762 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006478/0.4343, allocations: 5.358 MB / 0.5815 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.4348, allocations: 39.97 kB / 0.5815 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.4349, allocations: 32 kB / 0.5815 GB, free: 10.98 MB / 430.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.0005649/0.4355, allocations: 309.5 kB / 0.5818 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.4356, allocations: 71.53 kB / 0.5819 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.4368, allocations: 0.6085 MB / 0.5825 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4368, allocations: 7.984 kB / 0.5825 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4368, allocations: 0 / 0.5825 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4368, allocations: 0 / 0.5825 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.4398, allocations: 1.462 MB / 0.5839 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4398, allocations: 4 kB / 0.5839 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.4404, allocations: 124 kB / 0.5841 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.4404, allocations: 11.94 kB / 0.5841 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.4405, allocations: 16 kB / 0.5841 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.4405, allocations: 4 kB / 0.5841 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4405, allocations: 3.938 kB / 0.5841 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.4419, allocations: 0.9362 MB / 0.585 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.4423, allocations: 111.4 kB / 0.5851 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.4424, allocations: 19.98 kB / 0.5851 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.4428, allocations: 23.98 kB / 0.5852 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.4429, allocations: 36.31 kB / 0.5852 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.4429, allocations: 20 kB / 0.5852 GB, free: 7.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006085/0.4435, allocations: 419 kB / 0.5856 GB, free: 6.699 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4435, allocations: 0 / 0.5856 GB, free: 6.699 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008783/0.4444, allocations: 235.9 kB / 0.5858 GB, free: 6.469 MB / 430.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.001886/0.4463, allocations: 1.507 MB / 0.5873 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.4482, allocations: 1.011 MB / 0.5883 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4482, allocations: 0 / 0.5883 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.4486, allocations: 254.2 kB / 0.5885 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/0.4495, allocations: 150.6 kB / 0.5887 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.4615, allocations: 7.159 MB / 0.5957 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.4625, allocations: 1.086 MB / 0.5967 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006508/0.4632, allocations: 185.9 kB / 0.5969 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/0.4638, allocations: 327.3 kB / 0.5972 GB, free: 10.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4638, allocations: 3.938 kB / 0.5972 GB, free: 10.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06241/0.5262, allocations: 17.45 MB / 0.6143 GB, free: 9.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.88, allocations: 10.58 kB / 0.6143 GB, free: 9.082 MB / 462.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.709133203839883] Failed to read output from testmodel.py, exit status != 0: 15.014532037079334 15.044375436 14.643726892 Calling exit ...