Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.Islanding.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.Islanding") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002363/0.002367, allocations: 356.2 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.345/3.345, allocations: 388.9 MB / 406.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003288/0.003288, allocations: 249.5 kB / 451.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6079/0.6079, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004602, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06484/0.06533, allocations: 53.24 MB / 0.6736 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009354/0.07472, allocations: 10.5 MB / 0.6839 GB, free: 50.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007741/0.0825, allocations: 6.242 MB / 0.69 GB, free: 44.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006758/0.08321, allocations: 63.62 kB / 0.69 GB, free: 43.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01686/0.1001, allocations: 11.79 MB / 0.7015 GB, free: 32.14 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.1021, allocations: 0.781 MB / 0.7023 GB, free: 31.35 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1034, allocations: 483.1 kB / 0.7028 GB, free: 30.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.1071, allocations: 3.793 MB / 0.7065 GB, free: 27.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.1087, allocations: 1.081 MB / 0.7075 GB, free: 25.95 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006762/0.1094, allocations: 0.6881 MB / 0.7082 GB, free: 25.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009491/0.1103, allocations: 0.9029 MB / 0.7091 GB, free: 24.35 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.1105, allocations: 56 kB / 0.7091 GB, free: 24.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000555/0.1111, allocations: 323.4 kB / 0.7094 GB, free: 23.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.1115, allocations: 0.4985 MB / 0.7099 GB, free: 23.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1117, allocations: 293 kB / 0.7102 GB, free: 23.18 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.1131, allocations: 1.687 MB / 0.7118 GB, free: 21.49 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.668e-06/0.1132, allocations: 0 / 0.7118 GB, free: 21.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.118e-06/0.1132, allocations: 0 / 0.7118 GB, free: 21.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.1132, allocations: 0 / 0.7118 GB, free: 21.49 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.002945/0.1162, allocations: 1.624 MB / 0.7134 GB, free: 19.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1162, allocations: 8.828 kB / 0.7134 GB, free: 19.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000938/0.1171, allocations: 226 kB / 0.7137 GB, free: 19.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.1192, allocations: 1.105 MB / 0.7147 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.1193, allocations: 90.12 kB / 0.7148 GB, free: 18.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003254/0.1196, allocations: 135.9 kB / 0.7149 GB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.1219, allocations: 1.447 MB / 0.7164 GB, free: 16.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.1219, allocations: 0 / 0.7164 GB, free: 16.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.1221, allocations: 44 kB / 0.7164 GB, free: 16.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.1222, allocations: 81.94 kB / 0.7165 GB, free: 16.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.1245, allocations: 1.195 MB / 0.7176 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007557/0.132, allocations: 5.497 MB / 0.723 GB, free: 9.609 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.1337, allocations: 0.9854 MB / 0.724 GB, free: 8.574 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008606/0.1346, allocations: 496.1 kB / 0.7245 GB, free: 8.086 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/0.1347, allocations: 16.72 kB / 0.7245 GB, free: 8.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1347, allocations: 43.16 kB / 0.7245 GB, free: 8.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=75): time 2.804e-06/0.1347, allocations: 3.938 kB / 0.7245 GB, free: 8.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.008386/0.1431, allocations: 4.328 MB / 0.7287 GB, free: 3.512 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1432, allocations: 167.2 kB / 0.7289 GB, free: 3.312 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.1443, allocations: 0.8951 MB / 0.7298 GB, free: 2.395 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.1444, allocations: 41.7 kB / 0.7298 GB, free: 2.348 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.1448, allocations: 0.6084 MB / 0.7304 GB, free: 1.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.1451, allocations: 307.5 kB / 0.7307 GB, free: 1.426 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.1451, allocations: 28.03 kB / 0.7307 GB, free: 1.398 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.1452, allocations: 345.9 kB / 0.7311 GB, free: 1.055 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007157/0.146, allocations: 389.8 kB / 0.7314 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2208/0.3667, allocations: 0.6268 MB / 0.732 GB, free: 127.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3679, allocations: 488.2 kB / 0.7325 GB, free: 127.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.479e-06/0.3679, allocations: 1.406 kB / 0.7325 GB, free: 127.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005151/0.373, allocations: 2.079 MB / 0.7345 GB, free: 127 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.3732, allocations: 292.1 kB / 0.7348 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.3732, allocations: 10.23 kB / 0.7348 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/0.3765, allocations: 0.8493 MB / 0.7357 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.3772, allocations: 146.4 kB / 0.7358 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.3937, allocations: 9.869 MB / 0.7454 GB, free: 121.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/0.3945, allocations: 60.97 kB / 0.7455 GB, free: 121.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.3947, allocations: 40.17 kB / 0.7455 GB, free: 121.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/0.3947, allocations: 3.625 kB / 0.7455 GB, free: 121.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004104/0.3988, allocations: 1.741 MB / 0.7472 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3988, allocations: 11.66 kB / 0.7472 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/0.402, allocations: 0.7771 MB / 0.748 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.4026, allocations: 142.3 kB / 0.7481 GB, free: 120.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.417, allocations: 9.303 MB / 0.7572 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/0.4179, allocations: 48.92 kB / 0.7573 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.418, allocations: 44.22 kB / 0.7573 GB, free: 114.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * 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 initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {10 40} Notification: Performance of prepare postOptimizeDAE: time 0.0007161/0.4187, allocations: 470.3 kB / 0.7578 GB, free: 113.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.4189, allocations: 109.8 kB / 0.7579 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.4212, allocations: 1.341 MB / 0.7592 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.4212, allocations: 9.344 kB / 0.7592 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.739e-06/0.4212, allocations: 1.344 kB / 0.7592 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.4213, allocations: 6.016 kB / 0.7592 GB, free: 113.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/0.4256, allocations: 2.64 MB / 0.7618 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.4256, allocations: 1.375 kB / 0.7618 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4266, allocations: 179.7 kB / 0.7619 GB, free: 111.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.4269, allocations: 93.56 kB / 0.762 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/0.427, allocations: 33.16 kB / 0.7621 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/0.4295, allocations: 4.121 MB / 0.7661 GB, free: 107.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.964e-06/0.4296, allocations: 5.156 kB / 0.7661 GB, free: 107.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.4326, allocations: 1.919 MB / 0.768 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/0.4331, allocations: 267 kB / 0.7682 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.4333, allocations: 28.28 kB / 0.7682 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007473/0.434, allocations: 49.77 kB / 0.7683 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.4342, allocations: 56.52 kB / 0.7683 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.167e-05/0.4342, allocations: 24.66 kB / 0.7684 GB, free: 106.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009704/0.4352, allocations: 0.6176 MB / 0.769 GB, free: 105.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.4352, allocations: 1.281 kB / 0.769 GB, free: 105.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002152/0.4374, allocations: 0.5458 MB / 0.7695 GB, free: 105.8 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002968/0.4377, allocations: 161 kB / 0.7697 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005378/0.4431, allocations: 2.986 MB / 0.7726 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.428e-06/0.4431, allocations: 2.438 kB / 0.7726 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.4445, allocations: 0.8324 MB / 0.7734 GB, free: 103.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.4459, allocations: 251 kB / 0.7736 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.4516, allocations: 3.861 MB / 0.7774 GB, free: 101.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.4526, allocations: 1.337 MB / 0.7787 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001061/0.4537, allocations: 268.4 kB / 0.779 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.4541, allocations: 80.66 kB / 0.779 GB, free: 100.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.219e-06/0.4541, allocations: 0 / 0.779 GB, free: 100.6 MB / 442.7 MB Notification: Performance of Templates: time 0.04002/0.4941, allocations: 22.89 MB / 0.8014 GB, free: 85.91 MB / 442.7 MB