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: translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 111.9 kB / 17.29 MB, free: 6.219 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.001668/0.001669, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.814/1.814, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1839/0.1839, allocations: 38.02 MB / 330.1 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 62.42 kB / 398.9 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1154, allocations: 58.06 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01334/0.1287, allocations: 11.79 MB / 468.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.1397, allocations: 6.698 MB / 475.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.1414, allocations: 67.56 kB / 475.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02032/0.1618, allocations: 12.97 MB / 488.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.1647, allocations: 0.7274 MB / 489.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.1664, allocations: 0.5649 MB / 489.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005115/0.1715, allocations: 3.595 MB / 493.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.1734, allocations: 1.234 MB / 494.6 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.1751, allocations: 0.9105 MB / 495.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.1767, allocations: 1.066 MB / 496.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.177, allocations: 156 kB / 496.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009132/0.1779, allocations: 467.4 kB / 497.2 MB, free: 60 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.1785, allocations: 0.6116 MB / 497.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008616/0.1794, allocations: 0.8008 MB / 498.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.1814, allocations: 1.789 MB / 0.4887 GB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1814, allocations: 0 / 0.4887 GB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1814, allocations: 0 / 0.4887 GB, free: 12.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.441e-05/0.1815, allocations: 0 / 0.4887 GB, free: 12.85 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.004089/0.1856, allocations: 1.9 MB / 0.4906 GB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/0.1856, allocations: 11.89 kB / 0.4906 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009155/0.1866, allocations: 226.8 kB / 0.4908 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.1888, allocations: 1.152 MB / 0.4919 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/0.1889, allocations: 90.19 kB / 0.492 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/0.1892, allocations: 131.9 kB / 0.4921 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.1916, allocations: 1.481 MB / 0.4936 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.1917, allocations: 4 kB / 0.4936 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.1918, allocations: 44 kB / 0.4936 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.192, allocations: 85.97 kB / 0.4937 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.1941, allocations: 1.206 MB / 0.4949 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008508/0.2026, allocations: 5.717 MB / 0.5005 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2185/0.4212, allocations: 0.954 MB / 0.5014 GB, free: 57.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.4223, allocations: 493.4 kB / 0.5019 GB, free: 57.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.139e-05/0.4224, allocations: 10.08 kB / 0.5019 GB, free: 57.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4225, allocations: 52.47 kB / 0.5019 GB, free: 57.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.746e-06/0.4225, allocations: 3.812 kB / 0.5019 GB, free: 57.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.008237/0.4307, allocations: 3.671 MB / 0.5055 GB, free: 55.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.4308, allocations: 169.8 kB / 0.5057 GB, free: 55.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.4322, allocations: 0.9297 MB / 0.5066 GB, free: 55.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/0.4323, allocations: 42.58 kB / 0.5066 GB, free: 55.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.4327, allocations: 0.6323 MB / 0.5072 GB, free: 54.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.4329, allocations: 305.9 kB / 0.5075 GB, free: 54.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.4332, allocations: 181 kB / 0.5077 GB, free: 54.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4333, allocations: 344.6 kB / 0.508 GB, free: 54.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.434, allocations: 401.5 kB / 0.5084 GB, free: 53.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.4347, allocations: 0.639 MB / 0.509 GB, free: 53.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.4362, allocations: 1.088 MB / 0.5101 GB, free: 52.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.4362, allocations: 1.25 kB / 0.5101 GB, free: 52.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00435/0.4405, allocations: 2.049 MB / 0.5121 GB, free: 52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.4406, allocations: 9.5 kB / 0.5121 GB, free: 52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.4406, allocations: 10 kB / 0.5121 GB, free: 52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/0.4436, allocations: 0.7949 MB / 0.5129 GB, free: 51.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.4443, allocations: 157 kB / 0.513 GB, free: 51.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.4593, allocations: 10.55 MB / 0.5233 GB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.4604, allocations: 55.33 kB / 0.5234 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/0.4605, allocations: 39.09 kB / 0.5234 GB, free: 44.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001096/0.4616, allocations: 0.6896 MB / 0.5241 GB, free: 44.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005679/0.4622, allocations: 0.6171 MB / 0.5247 GB, free: 44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001145/0.4634, allocations: 1.044 MB / 0.5257 GB, free: 43.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.4634, allocations: 1.781 kB / 0.5257 GB, free: 43.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003548/0.4669, allocations: 1.888 MB / 0.5276 GB, free: 42.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4669, allocations: 11.75 kB / 0.5276 GB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.467, allocations: 7.844 kB / 0.5276 GB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.4694, allocations: 0.7679 MB / 0.5283 GB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.4699, allocations: 158.7 kB / 0.5285 GB, free: 42.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.4807, allocations: 10.09 MB / 0.5384 GB, free: 32.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.4816, allocations: 55.81 kB / 0.5384 GB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.4817, allocations: 39.98 kB / 0.5384 GB, free: 32.67 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.0002776/0.482, allocations: 245.5 kB / 0.5387 GB, free: 32.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.4822, allocations: 106.7 kB / 0.5388 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.4839, allocations: 1.338 MB / 0.5401 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4839, allocations: 8 kB / 0.5401 GB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.484, allocations: 4 kB / 0.5401 GB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.484, allocations: 4.922 kB / 0.5401 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.4871, allocations: 2.63 MB / 0.5427 GB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4871, allocations: 7.938 kB / 0.5427 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008785/0.488, allocations: 175.8 kB / 0.5428 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.4882, allocations: 100.3 kB / 0.5429 GB, free: 27.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/0.4883, allocations: 31.92 kB / 0.543 GB, free: 27.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.4902, allocations: 4.494 MB / 0.5474 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4902, allocations: 3.938 kB / 0.5474 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.4923, allocations: 1.915 MB / 0.5492 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.4927, allocations: 267.6 kB / 0.5495 GB, free: 20.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.4929, allocations: 24 kB / 0.5495 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/0.4936, allocations: 43.95 kB / 0.5496 GB, free: 20.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.4937, allocations: 56.92 kB / 0.5496 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.4937, allocations: 27.98 kB / 0.5496 GB, free: 20.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007894/0.4945, allocations: 0.6423 MB / 0.5503 GB, free: 19.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4945, allocations: 0 / 0.5503 GB, free: 19.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001885/0.4964, allocations: 0.5493 MB / 0.5508 GB, free: 19.32 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.0002986/0.4967, allocations: 151.8 kB / 0.5509 GB, free: 19.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005309/0.5021, allocations: 3.225 MB / 0.5541 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5021, allocations: 0 / 0.5541 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009402/0.503, allocations: 0.822 MB / 0.5549 GB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.5043, allocations: 284.4 kB / 0.5552 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.5095, allocations: 3.908 MB / 0.559 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.5103, allocations: 1.315 MB / 0.5603 GB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.5106, allocations: 83.41 kB / 0.5603 GB, free: 9.438 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5106, allocations: 4 kB / 0.5604 GB, free: 9.434 MB / 382.1 MB Notification: Performance of Templates: time 0.03787/0.5485, allocations: 34.93 MB / 0.5945 GB, free: 6.492 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1)