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.001094/0.001095, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001267/0.001267, allocations: 177 kB / 17.56 MB, free: 6.18 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.624/1.624, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1979/0.1979, allocations: 38.05 MB / 310.1 MB, free: 5.918 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.0005214/0.0005214, allocations: 15.12 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2375, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009566/0.2471, allocations: 11.25 MB / 444.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009906/0.257, allocations: 6.846 MB / 451.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.2589, allocations: 67.56 kB / 451.7 MB, free: 468 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01747/0.2764, allocations: 12.35 MB / 464 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.2789, allocations: 0.7469 MB / 464.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.2806, allocations: 0.5604 MB / 465.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007211/0.2878, allocations: 4.496 MB / 469.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.29, allocations: 1.262 MB / 471.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.2915, allocations: 0.6919 MB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.293, allocations: 0.9453 MB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.2932, allocations: 59.94 kB / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009534/0.2941, allocations: 375.4 kB / 473.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.2947, allocations: 0.5023 MB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.2954, allocations: 0.7009 MB / 474.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.2974, allocations: 2.11 MB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2974, allocations: 0 / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.2974, allocations: 0 / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.641e-05/0.2975, allocations: 0 / 476.4 MB, free: 7.57 MB / 350.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.003739/0.3012, allocations: 1.636 MB / 478.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3013, allocations: 8.031 kB / 478.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000868/0.3021, allocations: 230.9 kB / 478.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.3044, allocations: 1.164 MB / 479.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.3045, allocations: 82.2 kB / 479.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/0.3049, allocations: 143.8 kB / 479.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.3072, allocations: 1.489 MB / 481.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.3073, allocations: 7.922 kB / 481.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.3074, allocations: 47.98 kB / 481.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.3076, allocations: 82.05 kB / 481.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.3096, allocations: 1.218 MB / 482.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007617/0.3172, allocations: 5.733 MB / 488.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3188, allocations: 0.9942 MB / 489.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008536/0.3197, allocations: 0.4886 MB / 489.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/0.3198, allocations: 8.656 kB / 489.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.3198, allocations: 39.33 kB / 489.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.3198, allocations: 7.938 kB / 489.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.007445/0.3273, allocations: 3.726 MB / 493.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.3274, allocations: 171.1 kB / 493.7 MB, free: 5.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.3286, allocations: 0.9367 MB / 494.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.3287, allocations: 41.7 kB / 494.7 MB, free: 4.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.3291, allocations: 0.6356 MB / 495.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.3294, allocations: 303.6 kB / 495.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.3295, allocations: 89.66 kB / 495.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3297, allocations: 349.9 kB / 496 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.3303, allocations: 397.8 kB / 496.4 MB, free: 2.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008162/0.3311, allocations: 0.6561 MB / 497.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.3327, allocations: 1.095 MB / 498.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3327, allocations: 4 kB / 498.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004375/0.3371, allocations: 2.109 MB / 0.4886 GB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.3373, allocations: 304.2 kB / 0.4889 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3373, allocations: 8 kB / 0.4889 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.34, allocations: 0.8323 MB / 0.4897 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.3405, allocations: 147.8 kB / 0.4898 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/0.3561, allocations: 9.9 MB / 0.4995 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3573, allocations: 60.08 kB / 0.4995 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.3574, allocations: 47.98 kB / 0.4996 GB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.3574, allocations: 4 kB / 0.4996 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003603/0.361, allocations: 1.766 MB / 0.5013 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3611, allocations: 8 kB / 0.5013 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.3635, allocations: 0.7774 MB / 0.5021 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.3641, allocations: 151.7 kB / 0.5022 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.377, allocations: 9.34 MB / 0.5114 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009037/0.378, allocations: 51.91 kB / 0.5114 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.378, allocations: 40 kB / 0.5114 GB, free: 6.316 MB / 398.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.0008009/0.3788, allocations: 484.8 kB / 0.5119 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.379, allocations: 110.6 kB / 0.512 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.3811, allocations: 1.343 MB / 0.5133 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3811, allocations: 8 kB / 0.5133 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3812, allocations: 4 kB / 0.5133 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.3812, allocations: 7.984 kB / 0.5133 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.3852, allocations: 2.657 MB / 0.5159 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3853, allocations: 0 / 0.5159 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/0.3862, allocations: 187.8 kB / 0.5161 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/0.3865, allocations: 90.48 kB / 0.5162 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/0.3866, allocations: 27.98 kB / 0.5162 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2442/0.6308, allocations: 4.12 MB / 0.5202 GB, free: 82.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.6308, allocations: 4.312 kB / 0.5203 GB, free: 82.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/0.6339, allocations: 1.93 MB / 0.5221 GB, free: 81.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.6344, allocations: 273.4 kB / 0.5224 GB, free: 81.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.6345, allocations: 27.69 kB / 0.5224 GB, free: 81.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/0.6352, allocations: 49.94 kB / 0.5225 GB, free: 81.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.6353, allocations: 59.81 kB / 0.5225 GB, free: 81.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.6354, allocations: 26.36 kB / 0.5226 GB, free: 81.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009763/0.6363, allocations: 0.6449 MB / 0.5232 GB, free: 81.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.293e-06/0.6364, allocations: 0 / 0.5232 GB, free: 81.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002043/0.6384, allocations: 0.5574 MB / 0.5237 GB, free: 81.44 MB / 398.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.0004129/0.6388, allocations: 153 kB / 0.5239 GB, free: 81.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005813/0.6447, allocations: 3.025 MB / 0.5268 GB, free: 80.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6447, allocations: 0 / 0.5268 GB, free: 80.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.646, allocations: 0.8244 MB / 0.5276 GB, free: 79.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.6476, allocations: 274.1 kB / 0.5279 GB, free: 79.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.6536, allocations: 4.006 MB / 0.5318 GB, free: 77.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/0.6545, allocations: 1.334 MB / 0.5331 GB, free: 76.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000912/0.6554, allocations: 266.1 kB / 0.5334 GB, free: 76.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.6556, allocations: 78.91 kB / 0.5334 GB, free: 76.57 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6556, allocations: 0 / 0.5334 GB, free: 76.57 MB / 398.1 MB Notification: Performance of Templates: time 0.03039/0.686, allocations: 23.85 MB / 0.5567 GB, free: 56.23 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: