Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="ACpower.p.1.|ACpower.p.2.|ACpower.p.3.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="ACpower.p.1.|ACpower.p.2.|ACpower.p.3.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_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.000801/0.0008013, allocations: 89.61 kB / 16.65 MB, free: 6.59 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.0008123/0.0008126, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.27/1.27, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1592/0.1592, allocations: 38.09 MB / 330.8 MB, free: 8.523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 9.062 kB / 400.7 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 59.16 MB / 459.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01149/0.1169, allocations: 11.24 MB / 471.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1272, allocations: 6.788 MB / 477.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.1291, allocations: 63.56 kB / 478 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.018/0.1471, allocations: 12.37 MB / 490.3 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.1495, allocations: 0.7468 MB / 491.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1511, allocations: 0.554 MB / 491.6 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005322/0.1564, allocations: 4.492 MB / 496.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.1587, allocations: 1.257 MB / 497.4 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.1601, allocations: 0.6918 MB / 498.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.1617, allocations: 0.9415 MB / 499 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003256/0.1621, allocations: 60 kB / 499.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1631, allocations: 375.3 kB / 499.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007803/0.1639, allocations: 0.5062 MB / 500 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.1651, allocations: 0.7048 MB / 0.4889 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.1673, allocations: 2.09 MB / 0.491 GB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1673, allocations: 0 / 0.491 GB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1673, allocations: 4 kB / 0.491 GB, free: 11.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.434e-05/0.1674, allocations: 0 / 0.491 GB, free: 11.99 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.003635/0.171, allocations: 1.632 MB / 0.4926 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1711, allocations: 8.031 kB / 0.4926 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.1721, allocations: 230.9 kB / 0.4928 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.1746, allocations: 1.156 MB / 0.4939 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.1747, allocations: 82.2 kB / 0.494 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/0.175, allocations: 136 kB / 0.4941 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.1778, allocations: 1.495 MB / 0.4956 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.1779, allocations: 3.906 kB / 0.4956 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.178, allocations: 47.98 kB / 0.4956 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.1782, allocations: 78.05 kB / 0.4957 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.1804, allocations: 1.234 MB / 0.4969 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2122/0.3926, allocations: 5.717 MB / 0.5025 GB, free: 55.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.3945, allocations: 0.9899 MB / 0.5035 GB, free: 55.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008333/0.3954, allocations: 494.1 kB / 0.5039 GB, free: 55.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.3955, allocations: 13.16 kB / 0.504 GB, free: 55.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3955, allocations: 45.05 kB / 0.504 GB, free: 55.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/0.3955, allocations: 0 / 0.504 GB, free: 55.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.007662/0.4032, allocations: 3.723 MB / 0.5076 GB, free: 54.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4033, allocations: 165.2 kB / 0.5078 GB, free: 53.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.4047, allocations: 0.9337 MB / 0.5087 GB, free: 53.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.4047, allocations: 41.05 kB / 0.5087 GB, free: 53.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.4052, allocations: 0.6324 MB / 0.5094 GB, free: 53.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.4055, allocations: 307.1 kB / 0.5097 GB, free: 52.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.4056, allocations: 90.77 kB / 0.5097 GB, free: 52.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.4057, allocations: 349.1 kB / 0.5101 GB, free: 52.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007064/0.4064, allocations: 401.8 kB / 0.5105 GB, free: 52.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008106/0.4072, allocations: 0.6472 MB / 0.5111 GB, free: 51.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.4087, allocations: 1.103 MB / 0.5122 GB, free: 51.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.4087, allocations: 2.531 kB / 0.5122 GB, free: 51.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004654/0.4134, allocations: 2.112 MB / 0.5142 GB, free: 50.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.4136, allocations: 308 kB / 0.5145 GB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.4136, allocations: 11.38 kB / 0.5145 GB, free: 49.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.4164, allocations: 0.8104 MB / 0.5153 GB, free: 49.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.4171, allocations: 154.8 kB / 0.5155 GB, free: 49.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.4311, allocations: 9.906 MB / 0.5251 GB, free: 43.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.4322, allocations: 63.2 kB / 0.5252 GB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.4323, allocations: 37.67 kB / 0.5252 GB, free: 43.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.4323, allocations: 8.031 kB / 0.5253 GB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003382/0.4357, allocations: 1.762 MB / 0.527 GB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4357, allocations: 10.81 kB / 0.527 GB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.438, allocations: 0.7775 MB / 0.5277 GB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.4386, allocations: 145.4 kB / 0.5279 GB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.4486, allocations: 9.344 MB / 0.537 GB, free: 34.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009026/0.4495, allocations: 47.97 kB / 0.5371 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.4496, allocations: 40 kB / 0.5371 GB, free: 34.41 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.0007325/0.4503, allocations: 476.8 kB / 0.5375 GB, free: 33.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.4505, allocations: 114.6 kB / 0.5377 GB, free: 33.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.4522, allocations: 1.352 MB / 0.539 GB, free: 32.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.4522, allocations: 8 kB / 0.539 GB, free: 32.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4522, allocations: 0 / 0.539 GB, free: 32.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.4522, allocations: 11.92 kB / 0.539 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.4554, allocations: 2.655 MB / 0.5416 GB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4554, allocations: 4 kB / 0.5416 GB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008469/0.4562, allocations: 187.8 kB / 0.5418 GB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/0.4565, allocations: 90.23 kB / 0.5419 GB, free: 29.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.185e-05/0.4566, allocations: 27.98 kB / 0.5419 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.4585, allocations: 4.129 MB / 0.5459 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4585, allocations: 5.953 kB / 0.5459 GB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.4607, allocations: 1.93 MB / 0.5478 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.4612, allocations: 275.5 kB / 0.5481 GB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.4615, allocations: 27.98 kB / 0.5481 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/0.4622, allocations: 47.95 kB / 0.5481 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4623, allocations: 60.77 kB / 0.5482 GB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.4623, allocations: 27.98 kB / 0.5482 GB, free: 22.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009339/0.4633, allocations: 0.6384 MB / 0.5488 GB, free: 21.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4633, allocations: 4 kB / 0.5489 GB, free: 21.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002092/0.4654, allocations: 0.5483 MB / 0.5494 GB, free: 21.14 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.0003398/0.4657, allocations: 150.3 kB / 0.5495 GB, free: 20.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005055/0.4708, allocations: 3.022 MB / 0.5525 GB, free: 17.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/0.4708, allocations: 4 kB / 0.5525 GB, free: 17.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000982/0.4718, allocations: 0.8322 MB / 0.5533 GB, free: 17.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.4734, allocations: 266.8 kB / 0.5536 GB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.4787, allocations: 4.003 MB / 0.5575 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009004/0.4797, allocations: 1.328 MB / 0.5588 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009357/0.4806, allocations: 264.8 kB / 0.559 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.4809, allocations: 83.41 kB / 0.5591 GB, free: 11.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4809, allocations: 0 / 0.5591 GB, free: 11.03 MB / 382.1 MB Notification: Performance of Templates: time 0.03914/0.52, allocations: 23.83 MB / 0.5824 GB, free: 3.395 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1) Environment - environmentSimulation: