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.0009514/0.0009514, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008927/0.0008927, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9905/0.9905, allocations: 177.1 MB / 205 MB, free: 5.637 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.2239/0.2239, allocations: 29.42 MB / 290.9 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.833e-06/1.833e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.226e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009321/0.009343, allocations: 8.994 MB / 378.6 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008189/0.01753, allocations: 6.066 MB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008012/0.01833, allocations: 55.56 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01453/0.03286, allocations: 13.95 MB / 398.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.03435, allocations: 0.8234 MB / 399.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.03547, allocations: 0.6549 MB / 400.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003122/0.03859, allocations: 3.696 MB / 403.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.0397, allocations: 1.019 MB / 404.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.04085, allocations: 1.231 MB / 406.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009135/0.04177, allocations: 0.9387 MB / 407.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.04194, allocations: 156 kB / 407.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.04254, allocations: 475.3 kB / 407.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004246/0.04296, allocations: 0.6623 MB / 408.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.04342, allocations: 0.5416 MB / 408.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.04494, allocations: 1.491 MB / 410.4 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.04494, allocations: 0 / 410.4 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.04494, allocations: 0 / 410.4 MB, free: 2.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.04496, allocations: 0 / 410.4 MB, free: 2.117 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.002442/0.04741, allocations: 1.963 MB / 412.3 MB, free: 112 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.04745, allocations: 11.98 kB / 412.4 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/0.04811, allocations: 334.2 kB / 412.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.04962, allocations: 1.139 MB / 413.8 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/0.04968, allocations: 86.56 kB / 413.9 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.04991, allocations: 133.6 kB / 414 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.05128, allocations: 1.095 MB / 415.1 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.05131, allocations: 4 kB / 415.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.05138, allocations: 44 kB / 415.2 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.0515, allocations: 85.97 kB / 415.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.05238, allocations: 0.4999 MB / 415.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004802/0.05718, allocations: 5.168 MB / 420.9 MB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.0579, allocations: 0.5413 MB / 421.5 MB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.05831, allocations: 257 kB / 421.7 MB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.458e-05/0.05836, allocations: 16.66 kB / 421.7 MB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.0584, allocations: 46.05 kB / 421.8 MB, free: 6.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 4.698e-06/0.0584, allocations: 3.984 kB / 421.8 MB, free: 6.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.003577/0.06198, allocations: 2.341 MB / 424.1 MB, free: 3.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.06206, allocations: 196.9 kB / 424.3 MB, free: 3.582 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/0.06279, allocations: 0.8183 MB / 425.1 MB, free: 2.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.06283, allocations: 41.7 kB / 425.2 MB, free: 2.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.06322, allocations: 0.706 MB / 425.9 MB, free: 1.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.06341, allocations: 321.2 kB / 426.2 MB, free: 1.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.06362, allocations: 192.2 kB / 426.4 MB, free: 1.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.06377, allocations: 0.516 MB / 426.9 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.06405, allocations: 163.6 kB / 427.1 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.06451, allocations: 0.583 MB / 427.6 MB, free: 28 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007543/0.06527, allocations: 0.7161 MB / 428.4 MB, free: 15.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.06527, allocations: 0 / 428.4 MB, free: 15.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002019/0.06729, allocations: 1.281 MB / 429.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.06731, allocations: 8 kB / 429.6 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.06732, allocations: 8 kB / 429.7 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.06927, allocations: 0.787 MB / 430.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.06965, allocations: 163.6 kB / 430.6 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007575/0.07722, allocations: 8.452 MB / 439.1 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.07767, allocations: 47.97 kB / 439.1 MB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.07772, allocations: 43.98 kB / 439.1 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004907/0.07821, allocations: 296.8 kB / 439.4 MB, free: 3.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004464/0.07866, allocations: 0.5909 MB / 440 MB, free: 2.945 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000701/0.07936, allocations: 0.7031 MB / 440.7 MB, free: 2.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.43e-06/0.07937, allocations: 4 kB / 440.7 MB, free: 2.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001819/0.08119, allocations: 1.211 MB / 441.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.0812, allocations: 8 kB / 442 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.0812, allocations: 12.09 kB / 442 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.08293, allocations: 0.7474 MB / 442.7 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1615/0.2444, allocations: 159.4 kB / 442.9 MB, free: 90.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.251, allocations: 8.337 MB / 451.2 MB, free: 85.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.2516, allocations: 48.89 kB / 451.3 MB, free: 85.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.2517, allocations: 39.12 kB / 451.3 MB, free: 85.27 MB / 410.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 (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.0002159/0.2519, allocations: 336.2 kB / 451.6 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.252, allocations: 138.2 kB / 451.8 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/0.2529, allocations: 0.6997 MB / 452.5 MB, free: 84.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2529, allocations: 14 kB / 452.5 MB, free: 84.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2529, allocations: 0 / 452.5 MB, free: 84.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2529, allocations: 13.83 kB / 452.5 MB, free: 84.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.2548, allocations: 1.655 MB / 454.1 MB, free: 84.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2548, allocations: 0 / 454.1 MB, free: 84.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.2552, allocations: 176.9 kB / 454.3 MB, free: 84.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001321/0.2554, allocations: 84.42 kB / 454.4 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.2554, allocations: 24.83 kB / 454.4 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.2566, allocations: 5.435 MB / 459.9 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2566, allocations: 6.562 kB / 459.9 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2577, allocations: 1.154 MB / 461 MB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.2579, allocations: 191.3 kB / 461.2 MB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.258, allocations: 20.53 kB / 461.2 MB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.2583, allocations: 42.45 kB / 461.3 MB, free: 78.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.2584, allocations: 58.7 kB / 461.3 MB, free: 78.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.2584, allocations: 28.33 kB / 461.3 MB, free: 78.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003834/0.2588, allocations: 0.5021 MB / 461.8 MB, free: 78.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2588, allocations: 0 / 461.8 MB, free: 78.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001233/0.26, allocations: 0.5548 MB / 462.4 MB, free: 78.6 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.0002466/0.2602, allocations: 145.5 kB / 462.5 MB, free: 78.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.2628, allocations: 2.708 MB / 465.3 MB, free: 77.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2628, allocations: 0 / 465.3 MB, free: 77.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.2633, allocations: 0.7932 MB / 466 MB, free: 76.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.2641, allocations: 274.6 kB / 466.3 MB, free: 76.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.2676, allocations: 2.769 MB / 469.1 MB, free: 75.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.2678, allocations: 380.4 kB / 469.5 MB, free: 75.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004446/0.2683, allocations: 226.9 kB / 469.7 MB, free: 75.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.2685, allocations: 81.48 kB / 469.8 MB, free: 75.39 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2685, allocations: 0 / 469.8 MB, free: 75.39 MB / 410.7 MB Notification: Performance of Templates: time 0.02738/0.2958, allocations: 24.4 MB / 494.2 MB, free: 72.53 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.8751112269237638]