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.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.00148/0.00148, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001512/0.001512, allocations: 165 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.9603/0.9603, allocations: 177.1 MB / 205 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.242/0.242, allocations: 29.41 MB / 290.9 MB, free: 2.465 MB / 266.7 MB " [Timeout remaining time 180] 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.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.72e-05, allocations: 9.703 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.009694/0.009721, allocations: 8.991 MB / 378.6 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008613/0.01833, allocations: 6.065 MB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009923/0.01933, allocations: 55.56 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01886/0.03819, allocations: 14.02 MB / 398.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.04023, allocations: 0.8195 MB / 399.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.04153, allocations: 0.6589 MB / 400.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004089/0.04562, allocations: 3.704 MB / 404 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.04695, allocations: 1.007 MB / 405 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.0485, allocations: 1.29 MB / 406.3 MB, free: 6.258 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.04964, allocations: 0.9192 MB / 407.2 MB, free: 5.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.04986, allocations: 156 kB / 407.3 MB, free: 5.188 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007502/0.05061, allocations: 463.3 kB / 407.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.0511, allocations: 0.6584 MB / 408.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.05162, allocations: 0.5339 MB / 409 MB, free: 3.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.05335, allocations: 1.487 MB / 410.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.05335, allocations: 0 / 410.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.05336, allocations: 0 / 410.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.05338, allocations: 4 kB / 410.5 MB, free: 2.043 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.002559/0.05594, allocations: 1.947 MB / 412.4 MB, free: 52 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.05598, allocations: 15.98 kB / 412.4 MB, free: 36 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007772/0.05675, allocations: 331.8 kB / 412.7 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.05828, allocations: 1.115 MB / 413.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.05835, allocations: 90.56 kB / 413.9 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.0586, allocations: 144 kB / 414.1 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.06012, allocations: 1.092 MB / 415.2 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.06015, allocations: 3.938 kB / 415.2 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-05/0.06024, allocations: 44 kB / 415.2 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.06036, allocations: 78.05 kB / 415.3 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.0614, allocations: 0.4999 MB / 415.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/0.06618, allocations: 5.166 MB / 421 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.06685, allocations: 0.5306 MB / 421.5 MB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.06723, allocations: 273.2 kB / 421.8 MB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.06727, allocations: 12.66 kB / 421.8 MB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.0673, allocations: 49.92 kB / 421.8 MB, free: 6.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 3.135e-06/0.0673, allocations: 0 / 421.8 MB, free: 6.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.007014/0.07432, allocations: 2.333 MB / 424.2 MB, free: 3.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.07441, allocations: 192.9 kB / 424.4 MB, free: 3.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.07555, allocations: 0.822 MB / 425.2 MB, free: 2.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.07561, allocations: 41.7 kB / 425.2 MB, free: 2.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000522/0.07613, allocations: 0.7139 MB / 425.9 MB, free: 1.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.07642, allocations: 325.2 kB / 426.2 MB, free: 1.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.07671, allocations: 184.3 kB / 426.4 MB, free: 1.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.0769, allocations: 0.5199 MB / 426.9 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.07732, allocations: 159.6 kB / 427.1 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.07799, allocations: 0.5872 MB / 427.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.07906, allocations: 0.6919 MB / 428.4 MB, free: 15.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.07907, allocations: 4 kB / 428.4 MB, free: 15.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002457/0.08153, allocations: 1.273 MB / 429.7 MB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.08155, allocations: 8 kB / 429.7 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.08156, allocations: 8 kB / 429.7 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.0835, allocations: 0.7793 MB / 430.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.08387, allocations: 155.7 kB / 430.6 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00744/0.09131, allocations: 8.449 MB / 439.1 MB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.09188, allocations: 47.97 kB / 439.1 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.09193, allocations: 43.97 kB / 439.1 MB, free: 4.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004887/0.09242, allocations: 300.8 kB / 439.4 MB, free: 3.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004225/0.09284, allocations: 0.5794 MB / 440 MB, free: 2.973 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007132/0.09356, allocations: 0.6918 MB / 440.7 MB, free: 2.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.09356, allocations: 0 / 440.7 MB, free: 2.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.001825/0.09539, allocations: 1.199 MB / 441.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.0954, allocations: 11.98 kB / 441.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.09541, allocations: 8 kB / 441.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.09713, allocations: 0.7474 MB / 442.7 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1503/0.2474, allocations: 154.9 kB / 442.8 MB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006542/0.2539, allocations: 8.331 MB / 451.2 MB, free: 85.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/0.2545, allocations: 52.52 kB / 451.2 MB, free: 85.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.2546, allocations: 40 kB / 451.2 MB, free: 85.12 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.0002208/0.2548, allocations: 328.1 kB / 451.6 MB, free: 84.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.2549, allocations: 139.2 kB / 451.7 MB, free: 84.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008761/0.2558, allocations: 0.7021 MB / 452.4 MB, free: 84.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2558, allocations: 16.27 kB / 452.4 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2558, allocations: 0 / 452.4 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2558, allocations: 6.703 kB / 452.4 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.2576, allocations: 1.661 MB / 454.1 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2576, allocations: 3.156 kB / 454.1 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.2581, allocations: 170.3 kB / 454.3 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001455/0.2582, allocations: 86.11 kB / 454.3 MB, free: 84.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.2583, allocations: 27.28 kB / 454.4 MB, free: 84.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.2595, allocations: 5.435 MB / 459.8 MB, free: 78.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2595, allocations: 3.656 kB / 459.8 MB, free: 78.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.2606, allocations: 1.16 MB / 461 MB, free: 78.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.2608, allocations: 181.6 kB / 461.1 MB, free: 78.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.2609, allocations: 24.62 kB / 461.2 MB, free: 78.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.2612, allocations: 39.31 kB / 461.2 MB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.2613, allocations: 58.84 kB / 461.3 MB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.2613, allocations: 26.8 kB / 461.3 MB, free: 78.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004199/0.2618, allocations: 0.5001 MB / 461.8 MB, free: 78.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2618, allocations: 3.75 kB / 461.8 MB, free: 78.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001332/0.2631, allocations: 0.5495 MB / 462.3 MB, free: 78.45 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.0002632/0.2633, allocations: 148.6 kB / 462.5 MB, free: 78.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.2661, allocations: 2.705 MB / 465.2 MB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2661, allocations: 0 / 465.2 MB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.2666, allocations: 0.7967 MB / 466 MB, free: 76.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.2674, allocations: 279.7 kB / 466.3 MB, free: 76.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.2705, allocations: 2.625 MB / 468.9 MB, free: 75.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.2708, allocations: 376.2 kB / 469.3 MB, free: 75.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004548/0.2713, allocations: 230.2 kB / 469.5 MB, free: 75.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.2714, allocations: 80.86 kB / 469.6 MB, free: 75.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2714, allocations: 0 / 469.6 MB, free: 75.25 MB / 410.7 MB Notification: Performance of Templates: time 0.03043/0.3019, allocations: 25.22 MB / 494.8 MB, free: 71.93 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.679338887799531]