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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.0009895/0.0009896, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001034/0.001034, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1718/0.1718, allocations: 38.02 MB / 329.7 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 62.05 kB / 398.9 MB, free: 33.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1013, allocations: 58.07 MB / 457 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01217/0.1136, allocations: 10.37 MB / 467.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1237, allocations: 6.288 MB / 473.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.1251, allocations: 39.75 kB / 473.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01924/0.1444, allocations: 12.5 MB / 486.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.1466, allocations: 0.7968 MB / 487 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.1484, allocations: 0.6114 MB / 487.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005369/0.1538, allocations: 3.506 MB / 491.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.1556, allocations: 1.211 MB / 492.3 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.1572, allocations: 0.9028 MB / 493.2 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.1585, allocations: 1.004 MB / 494.2 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.1588, allocations: 156 kB / 494.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008157/0.1596, allocations: 463.3 kB / 494.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005117/0.1601, allocations: 0.6039 MB / 495.4 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00078/0.1609, allocations: 0.8047 MB / 496.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.1632, allocations: 2.224 MB / 498.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1632, allocations: 0 / 498.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1632, allocations: 4 kB / 498.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.1632, allocations: 0 / 498.4 MB, free: 14.31 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.003613/0.1668, allocations: 1.904 MB / 0.4886 GB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1669, allocations: 11.89 kB / 0.4886 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.1671, allocations: 173.5 kB / 0.4888 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.1679, allocations: 226.9 kB / 0.489 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.1699, allocations: 1.16 MB / 0.4901 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.17, allocations: 82.2 kB / 0.4902 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.1703, allocations: 132 kB / 0.4903 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.1724, allocations: 1.493 MB / 0.4918 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.1725, allocations: 0 / 0.4918 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.1726, allocations: 44 kB / 0.4918 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.1727, allocations: 78.05 kB / 0.4919 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.1748, allocations: 1.206 MB / 0.4931 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007497/0.1823, allocations: 5.717 MB / 0.4987 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.1838, allocations: 0.9636 MB / 0.4996 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.1846, allocations: 495.7 kB / 0.5001 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.237e-05/0.1847, allocations: 16.59 kB / 0.5001 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1847, allocations: 43.16 kB / 0.5001 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.926e-06/0.1847, allocations: 0 / 0.5001 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.2151/0.3999, allocations: 3.677 MB / 0.5037 GB, free: 56.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.4, allocations: 168.5 kB / 0.5039 GB, free: 56.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.4015, allocations: 0.928 MB / 0.5048 GB, free: 55.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.4015, allocations: 45.3 kB / 0.5048 GB, free: 55.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.4019, allocations: 0.6265 MB / 0.5055 GB, free: 55.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.4022, allocations: 301.2 kB / 0.5057 GB, free: 55.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.4024, allocations: 181.3 kB / 0.5059 GB, free: 54.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.4025, allocations: 350.1 kB / 0.5063 GB, free: 54.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006628/0.4032, allocations: 400.1 kB / 0.5066 GB, free: 54.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/0.4041, allocations: 0.6424 MB / 0.5073 GB, free: 54.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.4058, allocations: 1.084 MB / 0.5083 GB, free: 53.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4058, allocations: 1.469 kB / 0.5083 GB, free: 53.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004594/0.4104, allocations: 2.047 MB / 0.5103 GB, free: 52.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4104, allocations: 8.125 kB / 0.5103 GB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.4105, allocations: 7.172 kB / 0.5103 GB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002716/0.4132, allocations: 0.801 MB / 0.5111 GB, free: 52.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.4139, allocations: 155.4 kB / 0.5113 GB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/0.4282, allocations: 10.54 MB / 0.5216 GB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.4292, allocations: 60.17 kB / 0.5216 GB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.4293, allocations: 45.2 kB / 0.5217 GB, free: 45.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001062/0.4304, allocations: 0.6865 MB / 0.5223 GB, free: 44.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006053/0.431, allocations: 0.6152 MB / 0.5229 GB, free: 44.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001101/0.4321, allocations: 1.042 MB / 0.524 GB, free: 43.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.808e-06/0.4321, allocations: 0 / 0.524 GB, free: 43.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003432/0.4356, allocations: 1.887 MB / 0.5258 GB, free: 42.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4356, allocations: 8.25 kB / 0.5258 GB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4356, allocations: 10.05 kB / 0.5258 GB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/0.438, allocations: 0.7707 MB / 0.5266 GB, free: 42.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.4385, allocations: 156.2 kB / 0.5267 GB, free: 42.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.4495, allocations: 10.1 MB / 0.5366 GB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009748/0.4505, allocations: 47.97 kB / 0.5366 GB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.4506, allocations: 43.98 kB / 0.5367 GB, free: 33.68 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 (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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0003367/0.451, allocations: 244.9 kB / 0.5369 GB, free: 33.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.4512, allocations: 114.5 kB / 0.537 GB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.453, allocations: 1.331 MB / 0.5383 GB, free: 31.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.453, allocations: 8 kB / 0.5383 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.453, allocations: 3.938 kB / 0.5383 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.453, allocations: 7.984 kB / 0.5383 GB, free: 31.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.4561, allocations: 2.624 MB / 0.5409 GB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4561, allocations: 4 kB / 0.5409 GB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008776/0.457, allocations: 179.8 kB / 0.5411 GB, free: 29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/0.4572, allocations: 90.33 kB / 0.5412 GB, free: 28.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.4573, allocations: 35.98 kB / 0.5412 GB, free: 28.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.4592, allocations: 4.498 MB / 0.5456 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4592, allocations: 4.062 kB / 0.5456 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.4614, allocations: 1.904 MB / 0.5474 GB, free: 21.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.4617, allocations: 275.5 kB / 0.5477 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.4619, allocations: 20 kB / 0.5477 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/0.4625, allocations: 51.95 kB / 0.5478 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.4626, allocations: 54.66 kB / 0.5478 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.4627, allocations: 23.98 kB / 0.5479 GB, free: 21.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007647/0.4634, allocations: 0.6462 MB / 0.5485 GB, free: 20.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4635, allocations: 0 / 0.5485 GB, free: 20.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001792/0.4653, allocations: 0.5466 MB / 0.549 GB, free: 20.34 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 (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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002354/0.4676, allocations: 2.499 MB / 0.5515 GB, free: 17.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005276/0.4729, allocations: 3.227 MB / 0.5546 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4729, allocations: 0 / 0.5546 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009893/0.4739, allocations: 0.8205 MB / 0.5554 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.4753, allocations: 292 kB / 0.5557 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.492, allocations: 12.67 MB / 0.5681 GB, free: 132 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.493, allocations: 1.335 MB / 0.5694 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009266/0.4939, allocations: 260.8 kB / 0.5696 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/0.4946, allocations: 0.5148 MB / 0.5701 GB, free: 13.99 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4946, allocations: 0 / 0.5701 GB, free: 13.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07743/0.572, allocations: 36.45 MB / 0.6057 GB, free: 9.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.3, allocations: 11.66 kB / 0.6057 GB, free: 9.805 MB / 430.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/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)