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.001312/0.001312, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001239/0.001239, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.361/1.361, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1892/0.1892, allocations: 38.02 MB / 329.7 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 66.03 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 58.05 MB / 456.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01108/0.1159, allocations: 10.38 MB / 467.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008781/0.1247, allocations: 6.28 MB / 473.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008055/0.1256, allocations: 43.75 kB / 473.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01943/0.145, allocations: 12.49 MB / 486 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.1474, allocations: 0.8007 MB / 486.8 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.149, allocations: 0.6153 MB / 487.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006228/0.1552, allocations: 3.517 MB / 491 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.1574, allocations: 1.199 MB / 492.2 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.1593, allocations: 0.9105 MB / 493.1 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.1613, allocations: 0.9962 MB / 494.1 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005063/0.1618, allocations: 156 kB / 494.2 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.1631, allocations: 467.4 kB / 494.7 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008962/0.164, allocations: 0.6 MB / 495.3 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.1656, allocations: 0.8047 MB / 496.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.1686, allocations: 2.232 MB / 498.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1686, allocations: 0 / 498.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1686, allocations: 0 / 498.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001048/0.1687, allocations: 3.938 kB / 498.3 MB, free: 14.45 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.004656/0.1734, allocations: 1.904 MB / 0.4885 GB, free: 12.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1734, allocations: 11.89 kB / 0.4885 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.1744, allocations: 222.9 kB / 0.4887 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.1769, allocations: 1.156 MB / 0.4899 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.458e-05/0.1769, allocations: 90.19 kB / 0.4899 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003665/0.1773, allocations: 128 kB / 0.4901 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.1798, allocations: 1.483 MB / 0.4915 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.1799, allocations: 7.906 kB / 0.4915 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.18, allocations: 44 kB / 0.4916 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.1802, allocations: 82.03 kB / 0.4916 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.1824, allocations: 1.206 MB / 0.4928 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00839/0.1908, allocations: 5.713 MB / 0.4984 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.1923, allocations: 0.9593 MB / 0.4993 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.1931, allocations: 492.7 kB / 0.4998 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.025e-05/0.1932, allocations: 20.64 kB / 0.4998 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.1933, allocations: 47.16 kB / 0.4999 GB, free: 396 kB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.355e-06/0.1933, allocations: 0 / 0.4999 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.2116/0.4048, allocations: 3.673 MB / 0.5035 GB, free: 56.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.4049, allocations: 167 kB / 0.5036 GB, free: 56.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.4063, allocations: 0.9263 MB / 0.5045 GB, free: 55.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.4064, allocations: 40.98 kB / 0.5046 GB, free: 55.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.4067, allocations: 0.628 MB / 0.5052 GB, free: 55.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.4069, allocations: 309.8 kB / 0.5055 GB, free: 55.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.4072, allocations: 180.8 kB / 0.5056 GB, free: 55.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.4073, allocations: 353 kB / 0.506 GB, free: 54.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/0.408, allocations: 400.7 kB / 0.5064 GB, free: 54.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007949/0.4088, allocations: 0.6364 MB / 0.507 GB, free: 54.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.4103, allocations: 1.087 MB / 0.508 GB, free: 53.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4103, allocations: 1.438 kB / 0.5081 GB, free: 53.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004498/0.4148, allocations: 2.047 MB / 0.5101 GB, free: 52.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.4149, allocations: 7.875 kB / 0.5101 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.4149, allocations: 7.391 kB / 0.5101 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/0.4176, allocations: 0.8014 MB / 0.5108 GB, free: 52.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.4182, allocations: 151.2 kB / 0.511 GB, free: 52.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.4338, allocations: 10.54 MB / 0.5213 GB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.4348, allocations: 58.56 kB / 0.5213 GB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.4349, allocations: 39.91 kB / 0.5214 GB, free: 45.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00119/0.4361, allocations: 0.6836 MB / 0.522 GB, free: 45.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006946/0.4368, allocations: 0.6189 MB / 0.5227 GB, free: 44.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001218/0.4381, allocations: 1.045 MB / 0.5237 GB, free: 43.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/0.4381, allocations: 0 / 0.5237 GB, free: 43.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003788/0.4419, allocations: 1.888 MB / 0.5255 GB, free: 43.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4419, allocations: 8.25 kB / 0.5255 GB, free: 43.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.4419, allocations: 11.5 kB / 0.5255 GB, free: 43.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/0.4444, allocations: 0.7781 MB / 0.5263 GB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.445, allocations: 153.5 kB / 0.5264 GB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.4561, allocations: 10.1 MB / 0.5363 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.4572, allocations: 51.95 kB / 0.5364 GB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.4572, allocations: 36 kB / 0.5364 GB, free: 34.09 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.0003696/0.4576, allocations: 236.9 kB / 0.5366 GB, free: 33.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.4578, allocations: 114.5 kB / 0.5367 GB, free: 33.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.4596, allocations: 1.344 MB / 0.538 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4596, allocations: 8 kB / 0.538 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4596, allocations: 7.938 kB / 0.5381 GB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.4596, allocations: 3.984 kB / 0.5381 GB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.4627, allocations: 2.625 MB / 0.5406 GB, free: 29.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4628, allocations: 4 kB / 0.5406 GB, free: 29.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.4636, allocations: 183.7 kB / 0.5408 GB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.4639, allocations: 90.42 kB / 0.5409 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.4639, allocations: 27.98 kB / 0.5409 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.466, allocations: 4.497 MB / 0.5453 GB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.466, allocations: 0 / 0.5453 GB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.4681, allocations: 1.91 MB / 0.5472 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.4684, allocations: 275.3 kB / 0.5474 GB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.4686, allocations: 20 kB / 0.5474 GB, free: 22.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.4693, allocations: 43.95 kB / 0.5475 GB, free: 22.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4694, allocations: 60.91 kB / 0.5475 GB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.4694, allocations: 20 kB / 0.5476 GB, free: 21.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008506/0.4703, allocations: 0.6462 MB / 0.5482 GB, free: 21.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4703, allocations: 0 / 0.5482 GB, free: 21.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001882/0.4722, allocations: 0.5491 MB / 0.5487 GB, free: 20.74 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.0002928/0.4725, allocations: 154.7 kB / 0.5489 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.478, allocations: 3.226 MB / 0.552 GB, free: 17.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.478, allocations: 0 / 0.552 GB, free: 17.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.4791, allocations: 0.8246 MB / 0.5528 GB, free: 16.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.4804, allocations: 277.2 kB / 0.5531 GB, free: 16.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.4852, allocations: 3.276 MB / 0.5563 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.486, allocations: 1.336 MB / 0.5576 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008643/0.4868, allocations: 260.8 kB / 0.5579 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.4871, allocations: 79.42 kB / 0.5579 GB, free: 11.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4871, allocations: 1.203 kB / 0.5579 GB, free: 11.23 MB / 382.1 MB Notification: Performance of Templates: time 0.0398/0.5269, allocations: 25.4 MB / 0.5827 GB, free: 2.043 MB / 398.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)