Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Islanding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Islanding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Islanding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Islanding",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009509/0.000951, allocations: 88.16 kB / 16.31 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 180.2 kB / 17.21 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3676/0.3676, allocations: 38.05 MB / 309.7 MB, free: 8.863 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005562/0.0005564, allocations: 12 kB / 376.6 MB, free: 15.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1499, allocations: 56.32 MB / 432.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01219/0.1622, allocations: 10.59 MB / 443.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.1731, allocations: 6.347 MB / 449.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.1753, allocations: 63.56 kB / 449.9 MB, free: 5.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3107/0.4861, allocations: 11.84 MB / 461.8 MB, free: 37.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.4891, allocations: 0.8115 MB / 462.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.491, allocations: 0.5012 MB / 463.1 MB, free: 37.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005988/0.497, allocations: 3.841 MB / 466.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00216/0.4992, allocations: 1.092 MB / 468 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.5007, allocations: 0.7246 MB / 468.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.5019, allocations: 0.9069 MB / 469.7 MB, free: 36.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.5021, allocations: 58.53 kB / 469.7 MB, free: 36.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007516/0.5029, allocations: 320.8 kB / 470 MB, free: 36.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004916/0.5034, allocations: 0.5069 MB / 470.5 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.5037, allocations: 306.9 kB / 470.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.5052, allocations: 1.727 MB / 472.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5052, allocations: 0 / 472.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5053, allocations: 0 / 472.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.5053, allocations: 0 / 472.6 MB, free: 36.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.00308/0.5084, allocations: 1.654 MB / 474.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.5084, allocations: 9.375 kB / 474.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.5086, allocations: 173.6 kB / 474.4 MB, free: 35.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007824/0.5094, allocations: 223.4 kB / 474.6 MB, free: 35.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.5114, allocations: 1.138 MB / 475.8 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.5114, allocations: 87.48 kB / 475.8 MB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.5117, allocations: 134.2 kB / 476 MB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.514, allocations: 1.482 MB / 477.5 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.5141, allocations: 10.69 kB / 477.5 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.5142, allocations: 43.38 kB / 477.5 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.5144, allocations: 79.25 kB / 477.6 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.5163, allocations: 1.217 MB / 478.8 MB, free: 35.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007765/0.524, allocations: 5.723 MB / 484.5 MB, free: 32.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.5256, allocations: 0.9848 MB / 485.5 MB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007947/0.5264, allocations: 492.1 kB / 486 MB, free: 32.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.345e-05/0.5264, allocations: 8.141 kB / 486 MB, free: 32.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.5265, allocations: 53.23 kB / 486.1 MB, free: 32.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.765e-06/0.5265, allocations: 0 / 486.1 MB, free: 32.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.007475/0.534, allocations: 3.724 MB / 489.8 MB, free: 30.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.5341, allocations: 167.6 kB / 489.9 MB, free: 30.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.5361, allocations: 0.9349 MB / 490.9 MB, free: 30.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.5362, allocations: 40.92 kB / 490.9 MB, free: 30.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.5367, allocations: 0.6315 MB / 491.5 MB, free: 29.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.537, allocations: 307.7 kB / 491.8 MB, free: 29.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.5371, allocations: 16.56 kB / 491.9 MB, free: 29.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5372, allocations: 349.1 kB / 492.2 MB, free: 29.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007826/0.538, allocations: 394.8 kB / 492.6 MB, free: 29.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000995/0.539, allocations: 0.6482 MB / 493.2 MB, free: 28.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/0.54, allocations: 495.2 kB / 493.7 MB, free: 28.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.54, allocations: 1.375 kB / 493.7 MB, free: 28.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005071/0.5451, allocations: 2.101 MB / 495.8 MB, free: 27.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.5453, allocations: 308.8 kB / 496.1 MB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.5453, allocations: 6.656 kB / 496.1 MB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003055/0.5484, allocations: 0.8511 MB / 497 MB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/0.5491, allocations: 153.4 kB / 497.1 MB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/0.5664, allocations: 9.875 MB / 0.4951 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.5677, allocations: 62.69 kB / 0.4952 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.568, allocations: 43.2 kB / 0.4952 GB, free: 20.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.568, allocations: 7.594 kB / 0.4952 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004209/0.5722, allocations: 1.756 MB / 0.4969 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/0.5723, allocations: 7.25 kB / 0.497 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/0.5754, allocations: 0.7766 MB / 0.4977 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.5761, allocations: 153 kB / 0.4979 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.5896, allocations: 9.308 MB / 0.5069 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.5909, allocations: 56.69 kB / 0.507 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.5911, allocations: 44.14 kB / 0.507 GB, free: 12.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,limPID_DC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {10 40} Notification: Performance of prepare postOptimizeDAE: time 0.001307/0.5924, allocations: 476.5 kB / 0.5075 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005814/0.593, allocations: 113.5 kB / 0.5076 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.596, allocations: 1.345 MB / 0.5089 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.596, allocations: 8.25 kB / 0.5089 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.5961, allocations: 2.75 kB / 0.5089 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.5961, allocations: 3.984 kB / 0.5089 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/0.6016, allocations: 2.656 MB / 0.5115 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.6016, allocations: 6.156 kB / 0.5115 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000909/0.6025, allocations: 186 kB / 0.5117 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.6028, allocations: 84.88 kB / 0.5118 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.6029, allocations: 32.31 kB / 0.5118 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.6057, allocations: 4.126 MB / 0.5159 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.6057, allocations: 1.625 kB / 0.5159 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/0.6086, allocations: 1.94 MB / 0.5177 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007081/0.6093, allocations: 263.6 kB / 0.518 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/0.6097, allocations: 27.94 kB / 0.518 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.6106, allocations: 55.95 kB / 0.5181 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6107, allocations: 56.92 kB / 0.5181 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.539e-05/0.6108, allocations: 23.98 kB / 0.5182 GB, free: 3.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001498/0.6123, allocations: 0.6385 MB / 0.5188 GB, free: 2.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6124, allocations: 0 / 0.5188 GB, free: 2.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0036/0.616, allocations: 0.5469 MB / 0.5193 GB, free: 2.066 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.generator.i_rd[1],turboGen.generator.i_rq[1],turboGen.governor.speedReg.x_scaled[1],turboGen.rotor.phi,turboGen.rotor.w,capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,limPID_DC.I.y,limPID_DC.D.x) * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003373/0.6194, allocations: 2.534 MB / 0.5218 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006665/0.626, allocations: 3.015 MB / 0.5247 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.6261, allocations: 4.125 kB / 0.5247 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.6274, allocations: 0.8342 MB / 0.5256 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.6296, allocations: 268.8 kB / 0.5258 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/0.6527, allocations: 9.684 MB / 0.5353 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/0.6542, allocations: 1.336 MB / 0.5366 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001164/0.6554, allocations: 264.9 kB / 0.5368 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008664/0.6563, allocations: 0.5149 MB / 0.5373 GB, free: 15 MB / 414.1 MB Notification: Performance of SimCode: time 1.363e-06/0.6563, allocations: 0 / 0.5373 GB, free: 15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07044/0.7267, allocations: 34.66 MB / 0.5712 GB, free: 12.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.7271, allocations: 211.8 kB / 0.5714 GB, free: 12.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.285, allocations: 2.188 kB / 0.5714 GB, free: 12.09 MB / 446.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_Islanding_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_Islanding.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1) Environment - environmentSimulation: