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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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_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/Complex 3.2.2+maint.om/package.mo): time 0.001617/0.001617, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.215/1.215, allocations: 194.2 MB / 212.2 MB, free: 2.375 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001719/0.001719, allocations: 116.1 kB / 256.6 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1666/0.1666, allocations: 37.95 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.88 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08505, allocations: 52.18 MB / 454 MB, free: 16.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.008734/0.09382, allocations: 11.7 MB / 465.7 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008406/0.1023, allocations: 6.861 MB / 472.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.1038, allocations: 67.56 kB / 472.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01951/0.1233, allocations: 12.61 MB / 485.2 MB, free: 1.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.1255, allocations: 0.743 MB / 486 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.1268, allocations: 0.5258 MB / 486.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00539/0.1322, allocations: 4.473 MB / 491 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.1338, allocations: 0.9541 MB / 491.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.1349, allocations: 0.7544 MB / 492.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.1361, allocations: 1.012 MB / 493.7 MB, free: 8.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.1363, allocations: 84 kB / 493.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007289/0.137, allocations: 399.4 kB / 494.2 MB, free: 8.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004481/0.1375, allocations: 0.5375 MB / 494.7 MB, free: 7.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000624/0.1381, allocations: 0.7149 MB / 495.4 MB, free: 7.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.1398, allocations: 2.122 MB / 497.5 MB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1398, allocations: 0 / 497.5 MB, free: 4.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.1398, allocations: 0 / 497.5 MB, free: 4.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.1398, allocations: 4 kB / 497.5 MB, free: 4.883 MB / 346.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.003447/0.1433, allocations: 1.861 MB / 499.4 MB, free: 2.965 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1434, allocations: 12.03 kB / 499.4 MB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007522/0.1441, allocations: 222.9 kB / 499.6 MB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.1462, allocations: 1.133 MB / 0.489 GB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.1463, allocations: 86.12 kB / 0.4891 GB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.1466, allocations: 131.9 kB / 0.4892 GB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1858/0.3324, allocations: 1.446 MB / 0.4906 GB, free: 53.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/0.3325, allocations: 5.844 kB / 0.4907 GB, free: 53.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.3326, allocations: 44.17 kB / 0.4907 GB, free: 53.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/0.3328, allocations: 79.17 kB / 0.4908 GB, free: 53.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.335, allocations: 1.187 MB / 0.4919 GB, free: 53.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008771/0.3438, allocations: 5.478 MB / 0.4973 GB, free: 50.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.3456, allocations: 0.9613 MB / 0.4982 GB, free: 49.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.3465, allocations: 495.2 kB / 0.4987 GB, free: 49.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.618e-05/0.3466, allocations: 12.91 kB / 0.4987 GB, free: 49.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.3466, allocations: 44.44 kB / 0.4987 GB, free: 49.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 3.306e-06/0.3466, allocations: 0 / 0.4987 GB, free: 49.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.008169/0.3548, allocations: 4.271 MB / 0.5029 GB, free: 46.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.3549, allocations: 171.4 kB / 0.5031 GB, free: 46.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.3561, allocations: 0.8969 MB / 0.504 GB, free: 46.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.3562, allocations: 41.23 kB / 0.504 GB, free: 46.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.3565, allocations: 0.619 MB / 0.5046 GB, free: 45.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.3566, allocations: 305.5 kB / 0.5049 GB, free: 45.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.3569, allocations: 179.6 kB / 0.5051 GB, free: 45.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.357, allocations: 343.6 kB / 0.5054 GB, free: 45.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.3576, allocations: 393.8 kB / 0.5058 GB, free: 45.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/0.3583, allocations: 0.6324 MB / 0.5064 GB, free: 44.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.3597, allocations: 1.061 MB / 0.5074 GB, free: 43.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3597, allocations: 2.906 kB / 0.5074 GB, free: 43.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004084/0.3638, allocations: 2.022 MB / 0.5094 GB, free: 42.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3639, allocations: 8.719 kB / 0.5094 GB, free: 42.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3639, allocations: 7.719 kB / 0.5094 GB, free: 42.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002781/0.3667, allocations: 0.7975 MB / 0.5102 GB, free: 42.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.3673, allocations: 151.4 kB / 0.5103 GB, free: 42.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.3797, allocations: 9.735 MB / 0.5198 GB, free: 33.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/0.3807, allocations: 60.11 kB / 0.5199 GB, free: 33.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.3808, allocations: 39.94 kB / 0.5199 GB, free: 33.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009086/0.3817, allocations: 0.6737 MB / 0.5206 GB, free: 32.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005253/0.3822, allocations: 0.5998 MB / 0.5212 GB, free: 32.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009917/0.3832, allocations: 1.019 MB / 0.5222 GB, free: 31.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.3832, allocations: 7.938 kB / 0.5222 GB, free: 31.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.002994/0.3862, allocations: 1.864 MB / 0.524 GB, free: 29.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3862, allocations: 8 kB / 0.524 GB, free: 29.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3863, allocations: 11.94 kB / 0.524 GB, free: 29.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/0.3884, allocations: 0.7696 MB / 0.5248 GB, free: 28.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.3889, allocations: 143.8 kB / 0.5249 GB, free: 28.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.3989, allocations: 9.304 MB / 0.534 GB, free: 18.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009812/0.3999, allocations: 44.12 kB / 0.534 GB, free: 18.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.4, allocations: 43.98 kB / 0.5341 GB, free: 18.41 MB / 346.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 (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.0002599/0.4003, allocations: 240 kB / 0.5343 GB, free: 18.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.4004, allocations: 110.6 kB / 0.5344 GB, free: 18.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.4022, allocations: 1.319 MB / 0.5357 GB, free: 16.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4022, allocations: 8 kB / 0.5357 GB, free: 16.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.4022, allocations: 7.938 kB / 0.5357 GB, free: 16.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4022, allocations: 3.984 kB / 0.5357 GB, free: 16.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.4054, allocations: 2.626 MB / 0.5383 GB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4054, allocations: 0 / 0.5383 GB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008462/0.4063, allocations: 179.7 kB / 0.5385 GB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.4065, allocations: 90.48 kB / 0.5385 GB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.4066, allocations: 27.98 kB / 0.5386 GB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.4084, allocations: 4.143 MB / 0.5426 GB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4084, allocations: 0 / 0.5426 GB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/0.4244, allocations: 13.75 MB / 0.556 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.4248, allocations: 271.6 kB / 0.5563 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.425, allocations: 23.94 kB / 0.5563 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/0.4257, allocations: 43.95 kB / 0.5564 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4258, allocations: 61 kB / 0.5564 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.4259, allocations: 23.98 kB / 0.5565 GB, free: 10.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.427, allocations: 0.6178 MB / 0.5571 GB, free: 9.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.427, allocations: 0 / 0.5571 GB, free: 9.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003338/0.4303, allocations: 0.7849 MB / 0.5578 GB, free: 8.734 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 (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.000334/0.4307, allocations: 147.7 kB / 0.558 GB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005506/0.4362, allocations: 2.971 MB / 0.5609 GB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.4362, allocations: 0 / 0.5609 GB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.4375, allocations: 0.8219 MB / 0.5617 GB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.4389, allocations: 259.1 kB / 0.5619 GB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007206/0.4461, allocations: 4.676 MB / 0.5665 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.4474, allocations: 1.348 MB / 0.5678 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.4486, allocations: 284.5 kB / 0.5681 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.4491, allocations: 91.41 kB / 0.5682 GB, free: 13.93 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4491, allocations: 3.938 kB / 0.5682 GB, free: 13.93 MB / 378.7 MB Notification: Performance of Templates: time 0.04566/0.4947, allocations: 28.56 MB / 0.5961 GB, free: 1.363 MB / 394.7 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)