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.001834/0.001834, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002036/0.002036, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1856/0.1856, allocations: 38.53 MB / 352.5 MB, free: 12.55 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.002265/0.002265, allocations: 75.88 kB / 492.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3205, allocations: 62.46 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01232/0.3328, allocations: 9.802 MB / 0.5516 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007612/0.3404, allocations: 3.648 MB / 0.5551 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.3417, allocations: 45.72 kB / 0.5552 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.345, allocations: 1.133 MB / 0.5563 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.3479, allocations: 0.91 MB / 0.5572 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3495, allocations: 495.5 kB / 0.5577 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003353/0.3528, allocations: 1.814 MB / 0.5594 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.3542, allocations: 0.7472 MB / 0.5602 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.3558, allocations: 0.7938 MB / 0.5609 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.3576, allocations: 0.9696 MB / 0.5619 GB, free: 104 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.3579, allocations: 108 kB / 0.562 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.3594, allocations: 0.6277 MB / 0.5626 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000771/0.3602, allocations: 0.6545 MB / 0.5632 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.3613, allocations: 0.6998 MB / 0.5639 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.3646, allocations: 1.923 MB / 0.5658 GB, free: 12.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3647, allocations: 0 / 0.5658 GB, free: 12.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3647, allocations: 0 / 0.5658 GB, free: 12.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.033e-05/0.3647, 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.003475/0.3682, allocations: 1.606 MB / 0.5674 GB, free: 10.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3682, allocations: 15.98 kB / 0.5674 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002621/0.3685, allocations: 177.6 kB / 0.5675 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.3704, allocations: 307.8 kB / 0.5678 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.3728, allocations: 0.8656 MB / 0.5687 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/0.3728, allocations: 82.05 kB / 0.5688 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.3732, allocations: 139.9 kB / 0.5689 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.3759, allocations: 1.489 MB / 0.5704 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.3759, allocations: 7.891 kB / 0.5704 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.376, allocations: 47.98 kB / 0.5704 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003139/0.3763, allocations: 102.2 kB / 0.5705 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.3786, allocations: 1.258 MB / 0.5717 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.3892, allocations: 5.523 MB / 0.5771 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3902, allocations: 0.5672 MB / 0.5777 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/0.3908, allocations: 375.5 kB / 0.578 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.579e-05/0.3909, allocations: 12.64 kB / 0.5781 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.3909, allocations: 39.22 kB / 0.5781 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 3.005e-06/0.3909, allocations: 0 / 0.5781 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.007996/0.3989, allocations: 3.22 MB / 0.5812 GB, free: 11.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.399, allocations: 89.75 kB / 0.5813 GB, free: 11.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.4, allocations: 0.7313 MB / 0.582 GB, free: 10.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.4001, allocations: 41.7 kB / 0.5821 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/0.4006, allocations: 0.6091 MB / 0.5827 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.4009, allocations: 281.6 kB / 0.5829 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.4012, allocations: 186.6 kB / 0.5831 GB, free: 9.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.4015, allocations: 402.7 kB / 0.5835 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006685/0.4021, allocations: 389.8 kB / 0.5839 GB, free: 8.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/0.403, allocations: 0.6574 MB / 0.5845 GB, free: 8.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.4047, allocations: 1.148 MB / 0.5856 GB, free: 6.891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.4047, allocations: 0 / 0.5856 GB, free: 6.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003821/0.4085, allocations: 1.69 MB / 0.5873 GB, free: 5.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.4085, allocations: 12 kB / 0.5873 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00292/0.4115, allocations: 1.29 MB / 0.5886 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.4135, allocations: 0.5768 MB / 0.5891 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/0.4143, allocations: 183.7 kB / 0.5893 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.4282, allocations: 9.935 MB / 0.599 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.4291, allocations: 51.92 kB / 0.599 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.4292, allocations: 43.94 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.0007476/0.4299, allocations: 389.5 kB / 0.5995 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.4302, allocations: 91.39 kB / 0.5995 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.4327, allocations: 1.244 MB / 0.6008 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.4327, allocations: 8 kB / 0.6008 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.4328, allocations: 8.062 kB / 0.6008 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.4328, allocations: 7.984 kB / 0.6008 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/0.438, allocations: 2.352 MB / 0.6031 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.438, allocations: 8.031 kB / 0.6031 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.4385, allocations: 107.9 kB / 0.6032 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.4397, allocations: 379.7 kB / 0.6036 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-05/0.4398, allocations: 27.98 kB / 0.6036 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009319/0.4491, allocations: 8.793 MB / 0.6122 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4491, allocations: 4.031 kB / 0.6122 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.4523, allocations: 1.667 MB / 0.6138 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006149/0.4529, allocations: 163.2 kB / 0.614 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.4531, allocations: 31.81 kB / 0.614 GB, free: 8.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.4537, allocations: 31.97 kB / 0.614 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.4539, allocations: 56.55 kB / 0.6141 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/0.454, allocations: 27.98 kB / 0.6141 GB, free: 8.445 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008915/0.4549, allocations: 0.5068 MB / 0.6146 GB, free: 7.941 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4549, allocations: 0 / 0.6146 GB, free: 7.941 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001985/0.4568, allocations: 359.9 kB / 0.6149 GB, free: 7.59 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.003603/0.4605, allocations: 2.269 MB / 0.6172 GB, free: 5.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002782/0.4632, allocations: 1.529 MB / 0.6186 GB, free: 3.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4632, allocations: 4.188 kB / 0.6186 GB, free: 3.676 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.465, allocations: 1.071 MB / 0.6197 GB, free: 2.535 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.4662, allocations: 210 kB / 0.6199 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.4845, allocations: 9.917 MB / 0.6296 GB, free: 7.996 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.4857, allocations: 1.262 MB / 0.6308 GB, free: 6.703 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006005/0.4863, allocations: 215.6 kB / 0.631 GB, free: 6.488 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/0.4869, allocations: 439.3 kB / 0.6314 GB, free: 6.059 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4869, allocations: 4 kB / 0.6314 GB, free: 6.055 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/0.5932, allocations: 26.09 MB / 0.6569 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.15, allocations: 19.03 kB / 0.6569 GB, free: 12.13 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: 18.04963201796636] Failed to read output from testmodel.py, exit status != 0: 15.283039601054043 15.29852452 14.930279453 Calling exit ...