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.0007571/0.0007571, allocations: 91.5 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.0009379/0.0009381, allocations: 182.3 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.377/1.377, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1702/0.1702, allocations: 38.1 MB / 330.8 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8.781 kB / 400.7 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1108, allocations: 59.17 MB / 459.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01276/0.1236, allocations: 11.24 MB / 471.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1351, allocations: 6.792 MB / 477.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.1367, allocations: 63.56 kB / 478 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01957/0.1563, allocations: 12.36 MB / 490.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.159, allocations: 0.7507 MB / 491.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.1607, allocations: 0.554 MB / 491.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005677/0.1664, allocations: 4.505 MB / 496.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/0.1689, allocations: 1.255 MB / 497.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.1703, allocations: 0.6958 MB / 498.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.172, allocations: 0.9259 MB / 499 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.1723, allocations: 60 kB / 499.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1733, allocations: 379.3 kB / 499.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006898/0.174, allocations: 0.5023 MB / 500 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.1751, allocations: 0.7009 MB / 0.4889 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.1774, allocations: 2.098 MB / 0.491 GB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1774, allocations: 3.938 kB / 0.491 GB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1774, allocations: 0 / 0.491 GB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.471e-05/0.1775, allocations: 0 / 0.491 GB, free: 12.04 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.003955/0.1815, allocations: 1.632 MB / 0.4926 GB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1815, allocations: 8.031 kB / 0.4926 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1826, allocations: 226.9 kB / 0.4928 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.1849, allocations: 1.16 MB / 0.4939 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/0.185, allocations: 82.2 kB / 0.494 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.1853, allocations: 136 kB / 0.4941 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.1878, allocations: 1.489 MB / 0.4956 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.1879, allocations: 7.891 kB / 0.4956 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.188, allocations: 55.98 kB / 0.4957 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.1882, allocations: 78.05 kB / 0.4957 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.1903, allocations: 1.23 MB / 0.4969 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2289/0.4193, allocations: 5.707 MB / 0.5025 GB, free: 56.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.4211, allocations: 0.991 MB / 0.5035 GB, free: 56.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/0.4221, allocations: 495.4 kB / 0.5039 GB, free: 56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.579e-05/0.4221, allocations: 12.75 kB / 0.504 GB, free: 56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.4222, allocations: 44.56 kB / 0.504 GB, free: 55.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=76): time 2.464e-06/0.4222, allocations: 0 / 0.504 GB, free: 55.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.007741/0.4299, allocations: 3.725 MB / 0.5076 GB, free: 54.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.43, allocations: 168 kB / 0.5078 GB, free: 54.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.4314, allocations: 0.9295 MB / 0.5087 GB, free: 54.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/0.4315, allocations: 46.73 kB / 0.5087 GB, free: 53.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.4319, allocations: 0.6273 MB / 0.5094 GB, free: 53.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.4321, allocations: 312 kB / 0.5097 GB, free: 53.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.4322, allocations: 87.77 kB / 0.5097 GB, free: 53.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.4323, allocations: 345 kB / 0.5101 GB, free: 52.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007456/0.4331, allocations: 403 kB / 0.5105 GB, free: 52.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008321/0.4339, allocations: 0.6523 MB / 0.5111 GB, free: 52.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.4355, allocations: 1.101 MB / 0.5122 GB, free: 51.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.4356, allocations: 2.625 kB / 0.5122 GB, free: 51.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004946/0.4405, allocations: 2.119 MB / 0.5142 GB, free: 50.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.4407, allocations: 302.6 kB / 0.5145 GB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4407, allocations: 11.61 kB / 0.5145 GB, free: 50.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002982/0.4437, allocations: 0.8143 MB / 0.5153 GB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.4444, allocations: 150 kB / 0.5155 GB, free: 50.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.4586, allocations: 9.903 MB / 0.5251 GB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.4598, allocations: 61.55 kB / 0.5252 GB, free: 43.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.4599, allocations: 42.5 kB / 0.5252 GB, free: 43.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.4599, allocations: 7.938 kB / 0.5253 GB, free: 43.69 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003539/0.4635, allocations: 1.765 MB / 0.527 GB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4635, allocations: 7.812 kB / 0.527 GB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/0.4658, allocations: 0.7759 MB / 0.5277 GB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.4663, allocations: 157.7 kB / 0.5279 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.4767, allocations: 9.342 MB / 0.537 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000871/0.4776, allocations: 47.97 kB / 0.5371 GB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.4777, allocations: 39.98 kB / 0.5371 GB, free: 34.35 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.0008382/0.4785, allocations: 472.8 kB / 0.5375 GB, free: 33.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.4787, allocations: 114.6 kB / 0.5377 GB, free: 33.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.4805, allocations: 1.348 MB / 0.539 GB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.4805, allocations: 12 kB / 0.539 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4805, allocations: 3.938 kB / 0.539 GB, free: 32.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.4805, allocations: 11.91 kB / 0.539 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.4837, allocations: 2.655 MB / 0.5416 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4837, allocations: 0 / 0.5416 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008831/0.4846, allocations: 179.8 kB / 0.5418 GB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/0.4848, allocations: 88.94 kB / 0.5418 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.4849, allocations: 23.98 kB / 0.5419 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.4868, allocations: 4.14 MB / 0.5459 GB, free: 24.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4868, allocations: 4.094 kB / 0.5459 GB, free: 24.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.489, allocations: 1.932 MB / 0.5478 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.4893, allocations: 267.5 kB / 0.5481 GB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.4894, allocations: 24 kB / 0.5481 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.4901, allocations: 51.95 kB / 0.5481 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4902, allocations: 64.84 kB / 0.5482 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.4902, allocations: 20 kB / 0.5482 GB, free: 22.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000789/0.491, allocations: 0.6462 MB / 0.5488 GB, free: 21.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.491, allocations: 0 / 0.5488 GB, free: 21.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001857/0.4929, allocations: 0.5481 MB / 0.5494 GB, free: 21.09 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.000283/0.4932, allocations: 152.2 kB / 0.5495 GB, free: 20.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00466/0.4978, allocations: 3.025 MB / 0.5525 GB, free: 17.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4979, allocations: 0 / 0.5525 GB, free: 17.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009733/0.4988, allocations: 0.8402 MB / 0.5533 GB, free: 16.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.5002, allocations: 269.4 kB / 0.5536 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.5049, allocations: 3.992 MB / 0.5575 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.5056, allocations: 1.328 MB / 0.5588 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008009/0.5064, allocations: 264.8 kB / 0.559 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.5066, allocations: 75.42 kB / 0.5591 GB, free: 10.98 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5066, allocations: 0 / 0.5591 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.03578/0.5424, allocations: 23.84 MB / 0.5824 GB, free: 3.332 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile (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)