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.001181/0.001181, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001369/0.001369, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2913/0.2913, allocations: 29.42 MB / 291.2 MB, free: 2.387 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 2.154e-06/2.154e-06, allocations: 0 / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.375e-05, allocations: 5.266 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.008944/0.008977, allocations: 8.94 MB / 379.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007888/0.01687, allocations: 5.914 MB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009991/0.01786, allocations: 51.56 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01509/0.03295, allocations: 14.15 MB / 399.2 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.03487, allocations: 0.8196 MB / 400 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.03603, allocations: 0.6588 MB / 400.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003357/0.03938, allocations: 3.707 MB / 404.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.04106, allocations: 1.011 MB / 405.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.04295, allocations: 1.29 MB / 406.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.0441, allocations: 0.9153 MB / 407.6 MB, free: 5.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.04432, allocations: 152 kB / 407.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008894/0.04521, allocations: 475.3 kB / 408.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.04574, allocations: 0.6506 MB / 408.9 MB, free: 3.824 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.04635, allocations: 0.5378 MB / 409.4 MB, free: 3.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.04819, allocations: 1.483 MB / 410.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.0482, allocations: 4 kB / 410.9 MB, free: 1.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0482, allocations: 4 kB / 410.9 MB, free: 1.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.04822, allocations: 0 / 410.9 MB, free: 1.789 MB / 378.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.002402/0.05063, allocations: 1.931 MB / 412.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.05068, allocations: 15.98 kB / 412.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006481/0.05133, allocations: 319.8 kB / 413.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.05261, allocations: 1.076 MB / 414.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.05266, allocations: 86.56 kB / 414.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.05287, allocations: 152 kB / 414.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.05393, allocations: 1.006 MB / 415.5 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.05396, allocations: 11.97 kB / 415.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.05403, allocations: 43.98 kB / 415.5 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-05/0.05413, allocations: 78.05 kB / 415.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005573/0.05469, allocations: 406.3 kB / 416 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/0.05916, allocations: 5.127 MB / 421.1 MB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.0597, allocations: 499.2 kB / 421.6 MB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.05999, allocations: 244.9 kB / 421.8 MB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.06004, allocations: 12.66 kB / 421.8 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.06007, allocations: 46.16 kB / 421.9 MB, free: 6.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 3.396e-06/0.06008, allocations: 7.938 kB / 421.9 MB, free: 6.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.002727/0.0628, allocations: 1.639 MB / 423.5 MB, free: 4.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.06287, allocations: 196.9 kB / 423.7 MB, free: 4.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/0.0635, allocations: 0.8059 MB / 424.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.06355, allocations: 41.7 kB / 424.6 MB, free: 3.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.06393, allocations: 0.7137 MB / 425.3 MB, free: 2.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.06411, allocations: 321.2 kB / 425.6 MB, free: 2.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.06431, allocations: 192.1 kB / 425.8 MB, free: 2.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.06444, allocations: 0.5316 MB / 426.3 MB, free: 1.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.06461, allocations: 123.6 kB / 426.4 MB, free: 1.562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.06496, allocations: 0.5441 MB / 427 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.06552, allocations: 0.6371 MB / 427.6 MB, free: 96 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.06552, allocations: 4 kB / 427.6 MB, free: 92 kB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001708/0.06723, allocations: 1.168 MB / 428.8 MB, free: 14.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.06725, allocations: 8 kB / 428.8 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.06726, allocations: 8 kB / 428.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.06898, allocations: 0.7522 MB / 429.6 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.06932, allocations: 151.7 kB / 429.7 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006902/0.07622, allocations: 8.176 MB / 437.9 MB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.07679, allocations: 44.06 kB / 437.9 MB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.07684, allocations: 39.94 kB / 438 MB, free: 5.379 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004854/0.07733, allocations: 256.8 kB / 438.2 MB, free: 5.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003355/0.07766, allocations: 0.5441 MB / 438.8 MB, free: 4.418 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005317/0.0782, allocations: 0.6292 MB / 439.4 MB, free: 3.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.068e-06/0.0782, allocations: 0 / 439.4 MB, free: 3.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.001927/0.08013, allocations: 1.102 MB / 440.5 MB, free: 2.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.08014, allocations: 11.94 kB / 440.5 MB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.08015, allocations: 8 kB / 440.5 MB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.08174, allocations: 0.7239 MB / 441.2 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.08207, allocations: 151.8 kB / 441.4 MB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2042/0.2863, allocations: 8.056 MB / 449.4 MB, free: 86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.2869, allocations: 41.53 kB / 449.5 MB, free: 86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.287, allocations: 33.14 kB / 449.5 MB, free: 86 MB / 410.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.0002401/0.2872, allocations: 324.7 kB / 449.8 MB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.2874, allocations: 141.9 kB / 450 MB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008911/0.2883, allocations: 0.6445 MB / 450.6 MB, free: 85.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.2883, allocations: 9.531 kB / 450.6 MB, free: 85.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2883, allocations: 3.156 kB / 450.6 MB, free: 85.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.2883, allocations: 4.453 kB / 450.6 MB, free: 85.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.2902, allocations: 1.42 MB / 452.1 MB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2902, allocations: 0 / 452.1 MB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.2907, allocations: 175.1 kB / 452.2 MB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002143/0.2909, allocations: 75.05 kB / 452.3 MB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.291, allocations: 28.95 kB / 452.3 MB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.2928, allocations: 5.371 MB / 457.7 MB, free: 79.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2928, allocations: 0 / 457.7 MB, free: 79.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.2939, allocations: 1.073 MB / 458.8 MB, free: 79.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.2942, allocations: 179.7 kB / 458.9 MB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.2943, allocations: 32.81 kB / 459 MB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.2946, allocations: 28.34 kB / 459 MB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.2946, allocations: 59.64 kB / 459.1 MB, free: 79.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.2947, allocations: 24.2 kB / 459.1 MB, free: 79.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003571/0.295, allocations: 475 kB / 459.6 MB, free: 79.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.295, allocations: 0 / 459.6 MB, free: 79.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001526/0.2966, allocations: 0.5527 MB / 460.1 MB, free: 79.38 MB / 410.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.000299/0.2969, allocations: 153 kB / 460.3 MB, free: 79.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.2994, allocations: 2.588 MB / 462.8 MB, free: 78.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2994, allocations: 0 / 462.8 MB, free: 78.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.2999, allocations: 0.7688 MB / 463.6 MB, free: 77.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.3006, allocations: 278.8 kB / 463.9 MB, free: 77.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.3041, allocations: 2.609 MB / 466.5 MB, free: 76.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3044, allocations: 382.9 kB / 466.9 MB, free: 76.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004695/0.3049, allocations: 148.5 kB / 467 MB, free: 76.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.3053, allocations: 323.7 kB / 467.3 MB, free: 76.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3053, allocations: 0 / 467.3 MB, free: 76.12 MB / 410.7 MB Notification: Performance of Templates: time 0.04526/0.3506, allocations: 25.74 MB / 493.1 MB, free: 72.83 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: 4.160191439092159]