Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 173.1 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007441/0.0007442, allocations: 86.36 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1649/0.1649, allocations: 38.06 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004297, allocations: 19.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1264, allocations: 56.33 MB / 479.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01207/0.1385, allocations: 10.58 MB / 489.6 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1493, allocations: 6.347 MB / 496 MB, free: 1.062 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.151, allocations: 67.56 kB / 496.1 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01832/0.1693, allocations: 11.84 MB / 0.496 GB, free: 5.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.1727, allocations: 0.8047 MB / 0.4968 GB, free: 4.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.1746, allocations: 0.5065 MB / 0.4973 GB, free: 3.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005637/0.1802, allocations: 3.84 MB / 0.501 GB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.1823, allocations: 1.095 MB / 0.5021 GB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.1837, allocations: 0.7232 MB / 0.5028 GB, free: 14.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.185, allocations: 0.9106 MB / 0.5037 GB, free: 13.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.1852, allocations: 59.94 kB / 0.5038 GB, free: 13.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007403/0.1859, allocations: 323.5 kB / 0.5041 GB, free: 12.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.1864, allocations: 0.5063 MB / 0.5046 GB, free: 12.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.1868, allocations: 301 kB / 0.5048 GB, free: 12.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.1886, allocations: 1.726 MB / 0.5065 GB, free: 10.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1886, allocations: 0 / 0.5065 GB, free: 10.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1886, allocations: 0 / 0.5065 GB, free: 10.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.32e-05/0.1886, allocations: 0 / 0.5065 GB, free: 10.28 MB / 362.7 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.003727/0.1924, allocations: 1.663 MB / 0.5081 GB, free: 8.562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1924, allocations: 8.031 kB / 0.5082 GB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/0.1933, allocations: 225.9 kB / 0.5084 GB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.1956, allocations: 1.117 MB / 0.5095 GB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.1957, allocations: 94.17 kB / 0.5096 GB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.196, allocations: 139.9 kB / 0.5097 GB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.1985, allocations: 1.477 MB / 0.5111 GB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.1985, allocations: 3.938 kB / 0.5111 GB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.1987, allocations: 48 kB / 0.5112 GB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.1989, allocations: 82.03 kB / 0.5113 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.2011, allocations: 1.214 MB / 0.5124 GB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2605/0.4616, allocations: 5.729 MB / 0.518 GB, free: 51.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.4635, allocations: 0.981 MB / 0.519 GB, free: 50.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009295/0.4644, allocations: 494.5 kB / 0.5195 GB, free: 50.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.998e-05/0.4645, allocations: 11.09 kB / 0.5195 GB, free: 50.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.4645, allocations: 49.59 kB / 0.5195 GB, free: 50.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=76): time 3.126e-06/0.4646, allocations: 2.516 kB / 0.5195 GB, free: 50.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.007597/0.4722, allocations: 3.727 MB / 0.5232 GB, free: 49.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.4723, allocations: 169.3 kB / 0.5233 GB, free: 48.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.4737, allocations: 0.9295 MB / 0.5242 GB, free: 48.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.4738, allocations: 41.33 kB / 0.5243 GB, free: 48.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/0.4743, allocations: 0.6295 MB / 0.5249 GB, free: 47.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.4745, allocations: 310.4 kB / 0.5252 GB, free: 47.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.4746, allocations: 20.22 kB / 0.5252 GB, free: 47.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4747, allocations: 344 kB / 0.5255 GB, free: 47.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.4754, allocations: 393 kB / 0.5259 GB, free: 47.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008869/0.4763, allocations: 0.644 MB / 0.5265 GB, free: 46.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.4772, allocations: 498.2 kB / 0.527 GB, free: 46.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.4772, allocations: 2.562 kB / 0.527 GB, free: 46.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00512/0.4823, allocations: 2.102 MB / 0.5291 GB, free: 45.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.4825, allocations: 299.5 kB / 0.5294 GB, free: 45.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.4826, allocations: 7.219 kB / 0.5294 GB, free: 45.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.4857, allocations: 0.8534 MB / 0.5302 GB, free: 45.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.4864, allocations: 148.9 kB / 0.5303 GB, free: 45.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.5005, allocations: 9.889 MB / 0.54 GB, free: 38.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.5017, allocations: 70.56 kB / 0.5401 GB, free: 38.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.5018, allocations: 39.56 kB / 0.5401 GB, free: 38.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.5018, allocations: 3.969 kB / 0.5401 GB, free: 38.68 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00328/0.5051, allocations: 1.755 MB / 0.5418 GB, free: 37.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5051, allocations: 10.69 kB / 0.5418 GB, free: 37.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002337/0.5074, allocations: 0.7607 MB / 0.5426 GB, free: 37.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.508, allocations: 159.5 kB / 0.5427 GB, free: 37.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.5187, allocations: 9.311 MB / 0.5518 GB, free: 28.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.5198, allocations: 47.97 kB / 0.5519 GB, free: 28.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.5199, allocations: 43.98 kB / 0.5519 GB, free: 28.52 MB / 362.7 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 (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.0008392/0.5208, allocations: 484.8 kB / 0.5524 GB, free: 28.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.521, allocations: 114.6 kB / 0.5525 GB, free: 27.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.5229, allocations: 1.343 MB / 0.5538 GB, free: 26.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.5229, allocations: 8 kB / 0.5538 GB, free: 26.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5229, allocations: 8 kB / 0.5538 GB, free: 26.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5229, allocations: 3.984 kB / 0.5538 GB, free: 26.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.5264, allocations: 2.66 MB / 0.5564 GB, free: 23.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5264, allocations: 0 / 0.5564 GB, free: 23.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009271/0.5274, allocations: 187.4 kB / 0.5566 GB, free: 23.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.5276, allocations: 90.48 kB / 0.5567 GB, free: 23.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.5277, allocations: 27.98 kB / 0.5567 GB, free: 23.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.5297, allocations: 4.128 MB / 0.5607 GB, free: 18.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5298, allocations: 0 / 0.5607 GB, free: 18.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.5321, allocations: 1.925 MB / 0.5626 GB, free: 16.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.5325, allocations: 267.6 kB / 0.5629 GB, free: 16.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.5326, allocations: 31.98 kB / 0.5629 GB, free: 16.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.5333, allocations: 55.91 kB / 0.5629 GB, free: 16.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.5334, allocations: 52.92 kB / 0.563 GB, free: 16.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.5334, allocations: 23.98 kB / 0.563 GB, free: 16.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008886/0.5343, allocations: 0.6385 MB / 0.5636 GB, free: 15.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5344, allocations: 11.94 kB / 0.5636 GB, free: 15.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002079/0.5364, allocations: 0.5505 MB / 0.5642 GB, free: 15.25 MB / 362.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.0003345/0.5368, allocations: 154.4 kB / 0.5643 GB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004865/0.5417, allocations: 3.008 MB / 0.5673 GB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.5417, allocations: 0 / 0.5673 GB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.5427, allocations: 0.8286 MB / 0.5681 GB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.5442, allocations: 265.2 kB / 0.5683 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/0.5496, allocations: 4.02 MB / 0.5723 GB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.5504, allocations: 1.323 MB / 0.5736 GB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/0.5508, allocations: 83.41 kB / 0.5736 GB, free: 5.402 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5508, allocations: 3.938 kB / 0.5736 GB, free: 5.398 MB / 362.7 MB Notification: Performance of Templates: time 0.04573/0.5965, allocations: 34.92 MB / 0.6077 GB, free: 2.391 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1)