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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001114/0.001114, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001177/0.001177, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1769/0.1769, allocations: 37.99 MB / 309.9 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001505, allocations: 67.91 kB / 432.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.09935, allocations: 55.25 MB / 487.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01211/0.1115, allocations: 10.39 MB / 498.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00987/0.1214, allocations: 6.33 MB / 0.4927 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1225, allocations: 43.75 kB / 0.4927 GB, free: 7.633 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeComponents: time 0.01991/0.1425, allocations: 12.5 MB / 0.5049 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.1446, allocations: 0.7968 MB / 0.5057 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.1461, allocations: 0.6084 MB / 0.5063 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004522/0.1506, allocations: 3.521 MB / 0.5098 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.1524, allocations: 1.191 MB / 0.5109 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.1538, allocations: 0.93 MB / 0.5118 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.1553, allocations: 0.9923 MB / 0.5128 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003858/0.1557, allocations: 159.9 kB / 0.5129 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009814/0.1567, allocations: 467.3 kB / 0.5134 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007025/0.1574, allocations: 0.6039 MB / 0.514 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008483/0.1583, allocations: 0.8046 MB / 0.5148 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.1605, allocations: 2.266 MB / 0.517 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1605, allocations: 0 / 0.517 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1605, allocations: 0 / 0.517 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.1606, allocations: 4 kB / 0.517 GB, free: 14.73 MB / 414.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.003538/0.1641, allocations: 1.916 MB / 0.5189 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1642, allocations: 11.89 kB / 0.5189 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.165, allocations: 234.7 kB / 0.5191 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.1674, allocations: 1.195 MB / 0.5203 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.1674, allocations: 94.19 kB / 0.5203 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.1678, allocations: 139.8 kB / 0.5205 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.17, allocations: 1.477 MB / 0.5219 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.1701, allocations: 11.84 kB / 0.5219 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.1702, allocations: 40 kB / 0.522 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.1704, allocations: 85.97 kB / 0.5221 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.1723, allocations: 1.206 MB / 0.5232 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007402/0.1797, allocations: 5.666 MB / 0.5288 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.1812, allocations: 0.9695 MB / 0.5297 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/0.1819, allocations: 476.4 kB / 0.5302 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.494e-05/0.182, allocations: 16.72 kB / 0.5302 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.1821, allocations: 39.22 kB / 0.5302 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=76): time 2.955e-06/0.1821, allocations: 4 kB / 0.5302 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.2112/0.3932, allocations: 5.464 MB / 0.5356 GB, free: 51.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.3933, allocations: 167.5 kB / 0.5357 GB, free: 51.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.3949, allocations: 0.9416 MB / 0.5366 GB, free: 51.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.3949, allocations: 41.77 kB / 0.5367 GB, free: 51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/0.3954, allocations: 0.6343 MB / 0.5373 GB, free: 50.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.3957, allocations: 342.4 kB / 0.5376 GB, free: 50.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.3961, allocations: 199.3 kB / 0.5378 GB, free: 50.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3962, allocations: 350.8 kB / 0.5381 GB, free: 49.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009101/0.3972, allocations: 468 kB / 0.5386 GB, free: 49.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.3982, allocations: 0.7132 MB / 0.5393 GB, free: 49.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00955/0.4078, allocations: 2.754 MB / 0.542 GB, free: 47.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.4078, allocations: 2.312 kB / 0.542 GB, free: 47.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.005864/0.4137, allocations: 2.16 MB / 0.5441 GB, free: 47.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.4138, allocations: 11.94 kB / 0.5441 GB, free: 47.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.4138, allocations: 8.188 kB / 0.5441 GB, free: 47.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004295/0.4181, allocations: 0.9961 MB / 0.5451 GB, free: 46.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.4187, allocations: 159 kB / 0.5452 GB, free: 46.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/0.4343, allocations: 10.54 MB / 0.5555 GB, free: 40.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009932/0.4353, allocations: 65 kB / 0.5556 GB, free: 40.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.4354, allocations: 47.39 kB / 0.5556 GB, free: 40.62 MB / 414.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.turboGen.generator.psi_s[1] = 0.0 $DER.turboGen.generator.psi_s[2] = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001107/0.4365, allocations: 0.7701 MB / 0.5564 GB, free: 40.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006965/0.4372, allocations: 0.6855 MB / 0.5571 GB, free: 39.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008603/0.4458, allocations: 2.691 MB / 0.5597 GB, free: 37.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.303e-06/0.4458, allocations: 3.906 kB / 0.5597 GB, free: 37.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.004613/0.4505, allocations: 1.998 MB / 0.5616 GB, free: 36.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4505, allocations: 8.812 kB / 0.5616 GB, free: 36.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.4505, allocations: 7.656 kB / 0.5617 GB, free: 36.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003551/0.4541, allocations: 0.9727 MB / 0.5626 GB, free: 35.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.4546, allocations: 163.7 kB / 0.5628 GB, free: 35.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/0.467, allocations: 10.05 MB / 0.5726 GB, free: 25.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/0.468, allocations: 67.89 kB / 0.5726 GB, free: 25.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.4681, allocations: 43.98 kB / 0.5727 GB, free: 25.3 MB / 414.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.turboGen.generator.psi_s[1] = 0.0 $DER.turboGen.generator.psi_s[2] = 0.0. 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0003022/0.4684, allocations: 251.3 kB / 0.5729 GB, free: 25.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.4686, allocations: 118.5 kB / 0.573 GB, free: 24.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.4721, allocations: 1.623 MB / 0.5746 GB, free: 23.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4721, allocations: 7.922 kB / 0.5746 GB, free: 23.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4721, allocations: 4 kB / 0.5746 GB, free: 23.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.4725, allocations: 295.5 kB / 0.5749 GB, free: 22.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.4727, allocations: 24 kB / 0.5749 GB, free: 22.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/0.4734, allocations: 43.95 kB / 0.575 GB, free: 22.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.4736, allocations: 84.84 kB / 0.5751 GB, free: 22.8 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003687/0.4772, allocations: 1.837 MB / 0.5769 GB, free: 20.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002174/0.4794, allocations: 2.044 MB / 0.5788 GB, free: 18.92 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006098/0.4801, allocations: 0.5387 MB / 0.5794 GB, free: 18.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007799/0.4808, allocations: 0.6463 MB / 0.58 GB, free: 17.73 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.4809, allocations: 0 / 0.58 GB, free: 17.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005274/0.4861, allocations: 2.953 MB / 0.5829 GB, free: 14.74 MB / 414.1 MB Notification: Performance of SimCode: time 0.003943/0.4901, allocations: 3.67 MB / 0.5865 GB, free: 11.05 MB / 414.1 MB Notification: Performance of Templates: time 0.04662/0.5367, allocations: 31.45 MB / 0.6172 GB, free: 11.57 MB / 446.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)