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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 106.5 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 196.8 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.185/0.185, allocations: 38.51 MB / 345 MB, free: 2.586 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 482.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3726, allocations: 61.25 MB / 0.5309 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01258/0.3852, allocations: 10.5 MB / 0.5412 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.3971, allocations: 6.327 MB / 0.5474 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.3987, allocations: 40.16 kB / 0.5474 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02612/0.4248, allocations: 13.09 MB / 0.5602 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.4291, allocations: 0.8125 MB / 0.561 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.4313, allocations: 0.6161 MB / 0.5616 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006824/0.4381, allocations: 3.587 MB / 0.5651 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.44, allocations: 0.9804 MB / 0.5661 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.442, allocations: 0.9262 MB / 0.567 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.4441, allocations: 1.058 MB / 0.568 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003488/0.4445, allocations: 156 kB / 0.5681 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.4457, allocations: 483.3 kB / 0.5686 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000719/0.4464, allocations: 0.6232 MB / 0.5692 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.4474, allocations: 0.8124 MB / 0.57 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.4507, allocations: 2.265 MB / 0.5722 GB, free: 2.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.4507, allocations: 4 kB / 0.5722 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4507, allocations: 0 / 0.5722 GB, free: 2.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.32e-05/0.4507, allocations: 0 / 0.5722 GB, free: 2.289 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.004583/0.4553, allocations: 1.956 MB / 0.5741 GB, free: 284 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4554, allocations: 11.89 kB / 0.5741 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.4563, allocations: 231.8 kB / 0.5744 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.4589, allocations: 1.196 MB / 0.5755 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/0.459, allocations: 90.19 kB / 0.5756 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003654/0.4594, allocations: 139.9 kB / 0.5758 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.4621, allocations: 1.477 MB / 0.5772 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.4621, allocations: 8 kB / 0.5772 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.4622, allocations: 40 kB / 0.5772 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/0.4624, allocations: 82.03 kB / 0.5773 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.4647, allocations: 1.206 MB / 0.5785 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009544/0.4742, allocations: 5.676 MB / 0.584 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.4759, allocations: 0.9345 MB / 0.585 GB, free: 4.742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/0.4767, allocations: 448.4 kB / 0.5854 GB, free: 4.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/0.4768, allocations: 25.8 kB / 0.5854 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.4769, allocations: 39.22 kB / 0.5854 GB, free: 4.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.857e-06/0.4769, allocations: 0 / 0.5854 GB, free: 4.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.01651/0.4934, allocations: 5.513 MB / 0.5908 GB, free: 14.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.4935, allocations: 167.2 kB / 0.591 GB, free: 14.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.4952, allocations: 0.9285 MB / 0.5919 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.4954, allocations: 45.7 kB / 0.5919 GB, free: 13.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.4959, allocations: 0.6371 MB / 0.5926 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004234/0.4964, allocations: 364.9 kB / 0.5929 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/0.4967, allocations: 202.9 kB / 0.5931 GB, free: 12.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4969, allocations: 353.8 kB / 0.5934 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008879/0.4978, allocations: 465.9 kB / 0.5939 GB, free: 11.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.499, allocations: 0.7099 MB / 0.5946 GB, free: 10.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.5091, allocations: 2.76 MB / 0.5973 GB, free: 7.656 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.5092, allocations: 7.938 kB / 0.5973 GB, free: 7.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.006223/0.5154, allocations: 2.13 MB / 0.5994 GB, free: 5.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.5154, allocations: 8 kB / 0.5994 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.5154, allocations: 8 kB / 0.5994 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004293/0.5197, allocations: 0.9995 MB / 0.6003 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.5204, allocations: 155.7 kB / 0.6005 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/0.5399, allocations: 10.55 MB / 0.6108 GB, free: 9.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.5411, allocations: 63.95 kB / 0.6109 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.5413, allocations: 47.98 kB / 0.6109 GB, free: 9.395 MB / 462.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.001494/0.5427, allocations: 0.7602 MB / 0.6117 GB, free: 8.629 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/0.5438, allocations: 0.6826 MB / 0.6123 GB, free: 7.848 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009879/0.5537, allocations: 2.686 MB / 0.6149 GB, free: 5.031 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.843e-06/0.5537, allocations: 0 / 0.6149 GB, free: 5.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.005604/0.5593, allocations: 1.986 MB / 0.6169 GB, free: 3.031 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.5593, allocations: 11.94 kB / 0.6169 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.5593, allocations: 15.94 kB / 0.6169 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/0.5637, allocations: 0.9645 MB / 0.6179 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/0.5645, allocations: 159.7 kB / 0.618 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/0.5822, allocations: 10.08 MB / 0.6278 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.5834, allocations: 55.95 kB / 0.6279 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.5836, allocations: 44 kB / 0.6279 GB, free: 7.422 MB / 478.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.0004972/0.5841, allocations: 244.1 kB / 0.6282 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/0.5845, allocations: 123.2 kB / 0.6283 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/0.5891, allocations: 1.618 MB / 0.6299 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.5891, allocations: 12 kB / 0.6299 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5891, allocations: 4 kB / 0.6299 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.5891, allocations: 3.984 kB / 0.6299 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00753/0.5966, allocations: 3.147 MB / 0.633 GB, free: 2.148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5966, allocations: 0 / 0.633 GB, free: 2.148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009279/0.5976, allocations: 167.8 kB / 0.6331 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/0.6001, allocations: 477.8 kB / 0.6336 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.6002, allocations: 31.98 kB / 0.6336 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009116/0.6094, allocations: 6.921 MB / 0.6404 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6094, allocations: 4.094 kB / 0.6404 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005763/0.6151, allocations: 2.33 MB / 0.6426 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008488/0.616, allocations: 296.2 kB / 0.6429 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.6163, allocations: 24 kB / 0.643 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009338/0.6172, allocations: 47.95 kB / 0.643 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.6174, allocations: 84.81 kB / 0.6431 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.6175, allocations: 31.98 kB / 0.6431 GB, free: 7.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001359/0.6189, allocations: 0.6423 MB / 0.6437 GB, free: 6.609 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6189, allocations: 0 / 0.6437 GB, free: 6.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002739/0.6216, allocations: 0.5937 MB / 0.6443 GB, free: 6.016 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (turboGen.generator.i_s[3],turboGen.generator.psi_s[1],turboGen.generator.psi_s[2],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 (78): * Single equations (assignments): 74 * 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): 2 systems {(2,9,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000503/0.6221, allocations: 162.8 kB / 0.6445 GB, free: 5.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006907/0.629, allocations: 3.036 MB / 0.6474 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.629, allocations: 0 / 0.6474 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.6311, allocations: 1.002 MB / 0.6484 GB, free: 1.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.6331, allocations: 296.7 kB / 0.6487 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/0.6406, allocations: 3.464 MB / 0.6521 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.6421, allocations: 1.369 MB / 0.6534 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.6425, allocations: 83.42 kB / 0.6535 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.6425, allocations: 0 / 0.6535 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.04925/0.6918, allocations: 33.71 MB / 0.6864 GB, free: 10.77 MB / 0.5294 GB [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile [Timeout 660] (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) [Timeout 480]