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.001302/0.001302, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001418/0.001418, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.1884/0.1884, allocations: 38.52 MB / 353.2 MB, free: 12.57 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="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.002175/0.002175, allocations: 63.88 kB / 493.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3177, allocations: 62.47 MB / 0.5428 GB, free: 324 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01286/0.3306, allocations: 9.798 MB / 0.5523 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.3375, allocations: 3.654 MB / 0.5559 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007087/0.3382, allocations: 44.94 kB / 0.556 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.3411, allocations: 1.133 MB / 0.5571 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.3436, allocations: 0.9147 MB / 0.558 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.345, allocations: 493.3 kB / 0.5584 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.3476, allocations: 1.81 MB / 0.5602 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.3487, allocations: 0.7511 MB / 0.5609 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.3499, allocations: 0.7822 MB / 0.5617 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.3513, allocations: 0.9696 MB / 0.5626 GB, free: 4 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.3515, allocations: 112 kB / 0.5627 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.3528, allocations: 0.6278 MB / 0.5634 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006689/0.3534, allocations: 0.6506 MB / 0.564 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007939/0.3542, allocations: 0.6998 MB / 0.5647 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.3567, allocations: 1.923 MB / 0.5666 GB, free: 11.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3567, allocations: 3.938 kB / 0.5666 GB, free: 11.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3567, allocations: 0 / 0.5666 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.3567, allocations: 8 kB / 0.5666 GB, free: 11.97 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.00343/0.3602, allocations: 1.598 MB / 0.5681 GB, free: 10.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.3602, allocations: 15.97 kB / 0.5681 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.725e-05/0.3603, allocations: 34.23 kB / 0.5682 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002357/0.3605, allocations: 177.6 kB / 0.5683 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.3624, allocations: 311.8 kB / 0.5686 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.3644, allocations: 0.8654 MB / 0.5695 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.3645, allocations: 82.11 kB / 0.5696 GB, free: 8.812 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.3648, allocations: 135.9 kB / 0.5697 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.3673, allocations: 1.493 MB / 0.5712 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.3673, allocations: 7.953 kB / 0.5712 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.3674, allocations: 43.98 kB / 0.5712 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003313/0.3678, allocations: 102.1 kB / 0.5713 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.37, allocations: 1.262 MB / 0.5725 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008637/0.3786, allocations: 5.527 MB / 0.5779 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3796, allocations: 0.5551 MB / 0.5785 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.3802, allocations: 384 kB / 0.5788 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.3803, allocations: 16.55 kB / 0.5789 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.3803, allocations: 43.22 kB / 0.5789 GB, free: 14.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 2.435e-06/0.3803, allocations: 4 kB / 0.5789 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.007747/0.3881, allocations: 3.205 MB / 0.582 GB, free: 11.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.3881, allocations: 85.77 kB / 0.5821 GB, free: 11.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.3891, allocations: 0.7391 MB / 0.5828 GB, free: 10.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.3892, allocations: 37.7 kB / 0.5829 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.3897, allocations: 0.6052 MB / 0.5835 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.3899, allocations: 285.6 kB / 0.5837 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/0.3902, allocations: 182.6 kB / 0.5839 GB, free: 9.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3904, allocations: 398.7 kB / 0.5843 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.3911, allocations: 389.8 kB / 0.5847 GB, free: 8.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008692/0.3919, allocations: 0.6652 MB / 0.5853 GB, free: 8.016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.3937, allocations: 1.144 MB / 0.5864 GB, free: 6.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3937, allocations: 4 kB / 0.5864 GB, free: 6.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003499/0.3972, allocations: 1.69 MB / 0.5881 GB, free: 5.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3972, allocations: 8 kB / 0.5881 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002778/0.4, allocations: 1.29 MB / 0.5893 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.4019, allocations: 0.5769 MB / 0.5899 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.4026, allocations: 167.7 kB / 0.5901 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.4155, allocations: 9.947 MB / 0.5998 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/0.4163, allocations: 59.91 kB / 0.5998 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.4164, allocations: 43.94 kB / 0.5999 GB, free: 8.449 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.0006754/0.4171, allocations: 377.6 kB / 0.6002 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.4173, allocations: 95.39 kB / 0.6003 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.4201, allocations: 1.248 MB / 0.6016 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.4201, allocations: 8 kB / 0.6016 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.4201, allocations: 8 kB / 0.6016 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.4201, allocations: 7.922 kB / 0.6016 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004832/0.4249, allocations: 2.355 MB / 0.6039 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4249, allocations: 0 / 0.6039 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.4254, allocations: 103.9 kB / 0.604 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.4266, allocations: 379.9 kB / 0.6043 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.4267, allocations: 35.92 kB / 0.6044 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009392/0.4361, allocations: 8.781 MB / 0.6129 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.4361, allocations: 7.938 kB / 0.613 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/0.4392, allocations: 1.675 MB / 0.6146 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005157/0.4397, allocations: 159.2 kB / 0.6147 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.44, allocations: 35.88 kB / 0.6148 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.4406, allocations: 23.98 kB / 0.6148 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.4407, allocations: 72.47 kB / 0.6149 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.4408, allocations: 23.98 kB / 0.6149 GB, free: 8.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007906/0.4416, allocations: 0.5029 MB / 0.6154 GB, free: 7.805 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4416, allocations: 0 / 0.6154 GB, free: 7.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001563/0.4432, allocations: 367.9 kB / 0.6157 GB, free: 7.445 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.003649/0.4468, allocations: 2.264 MB / 0.6179 GB, free: 5.121 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.4497, allocations: 1.527 MB / 0.6194 GB, free: 3.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.4497, allocations: 5.75 kB / 0.6194 GB, free: 3.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.4516, allocations: 1.071 MB / 0.6205 GB, free: 2.398 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.4534, allocations: 206.2 kB / 0.6207 GB, free: 2.203 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/0.4719, allocations: 9.926 MB / 0.6304 GB, free: 7.855 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.4731, allocations: 1.258 MB / 0.6316 GB, free: 6.566 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006311/0.4738, allocations: 215.6 kB / 0.6318 GB, free: 6.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.4744, allocations: 447.3 kB / 0.6322 GB, free: 5.914 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4744, allocations: 0 / 0.6322 GB, free: 5.914 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07631/0.5508, allocations: 26.11 MB / 0.6577 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.66, allocations: 5.438 kB / 0.6577 GB, free: 11.98 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.57854374399176] Failed to read output from testmodel.py, exit status != 0: 15.85718785499921 15.88020216 15.519887025 Calling exit ...