Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 172 kB / 24.91 MB, free: 8.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.987/0.987, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2445/0.2445, allocations: 29.43 MB / 291.2 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="ACpower.p.[0-9,]+.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="ACpower.p.[0-9,]+.|DCpower.p|DCvoltage.v|Time",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.69e-05, allocations: 3.188 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.008699/0.008725, allocations: 8.993 MB / 325.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008847/0.01757, allocations: 6.024 MB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009329/0.01851, allocations: 55.56 kB / 331.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01609/0.03459, allocations: 13.78 MB / 345.7 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.03634, allocations: 0.8195 MB / 346.5 MB, free: 2.199 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.03763, allocations: 0.6589 MB / 347.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004059/0.04169, allocations: 3.657 MB / 350.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.0431, allocations: 1.046 MB / 351.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.04474, allocations: 1.294 MB / 353.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.046, allocations: 0.8763 MB / 354.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.04625, allocations: 152 kB / 354.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007893/0.04704, allocations: 471.3 kB / 354.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006632/0.0477, allocations: 0.6544 MB / 355.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007426/0.04844, allocations: 0.53 MB / 355.9 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.05109, allocations: 1.503 MB / 357.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.05109, allocations: 0 / 357.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.0511, allocations: 0 / 357.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.249e-05/0.05113, allocations: 0 / 357.4 MB, free: 7.316 MB / 330.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.002824/0.05395, allocations: 1.755 MB / 359.1 MB, free: 5.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.054, allocations: 11.98 kB / 359.1 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008726/0.05487, allocations: 256.7 kB / 359.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.05618, allocations: 0.9019 MB / 360.3 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.05623, allocations: 82.58 kB / 360.4 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.05643, allocations: 136.1 kB / 360.5 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.05741, allocations: 0.9861 MB / 361.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.05743, allocations: 11.89 kB / 361.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.0575, allocations: 47.98 kB / 361.5 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.681e-05/0.0576, allocations: 82.03 kB / 361.6 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005321/0.05813, allocations: 381.4 kB / 362 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.06215, allocations: 4.006 MB / 366 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.06265, allocations: 493 kB / 366.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.0629, allocations: 212.5 kB / 366.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.06295, allocations: 16.66 kB / 366.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.06298, allocations: 47.22 kB / 366.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=76): time 1.973e-06/0.06298, allocations: 0 / 366.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.002583/0.06557, allocations: 1.588 MB / 368.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.06564, allocations: 200.9 kB / 368.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.06615, allocations: 0.7086 MB / 369.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.0662, allocations: 41.7 kB / 369.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.06643, allocations: 0.5099 MB / 369.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.06659, allocations: 313.2 kB / 370.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.06676, allocations: 178.5 kB / 370.3 MB, free: 9.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003918/0.06715, allocations: 345.9 kB / 370.6 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.06731, allocations: 115.6 kB / 370.7 MB, free: 9.375 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.06759, allocations: 437.1 kB / 371.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.06804, allocations: 0.5528 MB / 371.7 MB, free: 8.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.06805, allocations: 4 kB / 371.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001436/0.06948, allocations: 0.9934 MB / 372.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.0695, allocations: 12.16 kB / 372.7 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.06951, allocations: 7.984 kB / 372.7 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.0711, allocations: 0.7064 MB / 373.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.0714, allocations: 147.8 kB / 373.6 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/0.07729, allocations: 6.275 MB / 379.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.07762, allocations: 39.98 kB / 379.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.07766, allocations: 35.98 kB / 379.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003209/0.07798, allocations: 207.8 kB / 380.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002746/0.07826, allocations: 433.1 kB / 380.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004478/0.07871, allocations: 0.5424 MB / 381.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.07871, allocations: 4 kB / 381.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.001276/0.07999, allocations: 0.9265 MB / 382 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.08, allocations: 8 kB / 382 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.08001, allocations: 4.875 kB / 382 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.08146, allocations: 0.6951 MB / 382.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.08176, allocations: 143.8 kB / 382.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.08738, allocations: 6.172 MB / 389 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.08777, allocations: 39.94 kB / 389.1 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.08782, allocations: 39.94 kB / 389.1 MB, free: 5.891 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (74): * Single equations (assignments): 71 * 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.0002136/0.08803, allocations: 232.1 kB / 389.3 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.08817, allocations: 95.97 kB / 389.4 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006996/0.08887, allocations: 0.5421 MB / 390 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.08888, allocations: 8 kB / 390 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.08888, allocations: 4 kB / 390 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.08889, allocations: 3.984 kB / 390 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.09032, allocations: 1.169 MB / 391.2 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.09032, allocations: 0 / 391.2 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.09075, allocations: 175.8 kB / 391.3 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.09088, allocations: 64.17 kB / 391.4 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.09092, allocations: 27.92 kB / 391.4 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.09273, allocations: 3.826 MB / 395.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.09274, allocations: 0 / 395.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/0.09354, allocations: 0.8878 MB / 396.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.09372, allocations: 131.2 kB / 396.3 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.0938, allocations: 20 kB / 396.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.09406, allocations: 27.98 kB / 396.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.09414, allocations: 68.75 kB / 396.4 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.09416, allocations: 15.98 kB / 396.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.09444, allocations: 349.9 kB / 396.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09444, allocations: 0 / 396.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001255/0.09569, allocations: 0.5546 MB / 397.3 MB, free: 13.3 MB / 378.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.0002545/0.09595, allocations: 131.5 kB / 397.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002676/0.09862, allocations: 2.184 MB / 399.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.09863, allocations: 8 kB / 399.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.09909, allocations: 0.5862 MB / 400.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.09978, allocations: 290.5 kB / 400.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.1028, allocations: 2.434 MB / 402.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1031, allocations: 378.4 kB / 403.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003666/0.1035, allocations: 148.5 kB / 403.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.1039, allocations: 273.1 kB / 403.7 MB, free: 6.707 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1039, allocations: 0 / 403.7 MB, free: 6.707 MB / 378.7 MB Notification: Performance of Templates: time 0.02999/0.1339, allocations: 25.72 MB / 429.4 MB, free: 13.31 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.698927900288254]