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.0009871/0.0009871, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001029/0.001029, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2699/0.2699, allocations: 29.42 MB / 291.2 MB, free: 2.508 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.934e-06/1.934e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.487e-05, allocations: 5.812 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01471/0.01474, allocations: 10.32 MB / 380 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008583/0.02333, allocations: 6.058 MB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009557/0.02428, allocations: 55.56 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01803/0.04231, allocations: 14.17 MB / 400.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.04458, allocations: 0.8312 MB / 401.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.04608, allocations: 0.6549 MB / 401.7 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004851/0.05094, allocations: 3.704 MB / 405.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.05236, allocations: 1.011 MB / 406.4 MB, free: 6.387 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.05437, allocations: 1.262 MB / 407.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.0556, allocations: 0.9348 MB / 408.6 MB, free: 4.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.05581, allocations: 160 kB / 408.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007626/0.05658, allocations: 483.2 kB / 409.3 MB, free: 3.555 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000496/0.05707, allocations: 0.6584 MB / 409.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005738/0.05764, allocations: 0.5378 MB / 410.5 MB, free: 2.355 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.05965, allocations: 1.495 MB / 412 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.05966, allocations: 4 kB / 412 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.05966, allocations: 0 / 412 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.05969, allocations: 0 / 412 MB, free: 0.8516 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.002747/0.06243, allocations: 1.959 MB / 413.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.06249, allocations: 15.98 kB / 413.9 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.06356, allocations: 327.8 kB / 414.3 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.06507, allocations: 1.131 MB / 415.4 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.06513, allocations: 90.56 kB / 415.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.06537, allocations: 148 kB / 415.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.06685, allocations: 1.088 MB / 416.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.06687, allocations: 3.938 kB / 416.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.06695, allocations: 48 kB / 416.8 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.06708, allocations: 82.03 kB / 416.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.06812, allocations: 0.496 MB / 417.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006099/0.07422, allocations: 5.168 MB / 422.5 MB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.07501, allocations: 0.5346 MB / 423 MB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.07544, allocations: 269.9 kB / 423.3 MB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.323e-05/0.07549, allocations: 12.66 kB / 423.3 MB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.07553, allocations: 49.98 kB / 423.4 MB, free: 4.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 4.268e-06/0.07554, allocations: 0 / 423.4 MB, free: 4.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.003814/0.07935, allocations: 2.341 MB / 425.7 MB, free: 2.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.07943, allocations: 188.9 kB / 425.9 MB, free: 2.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.0802, allocations: 0.8221 MB / 426.7 MB, free: 1.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.08025, allocations: 41.7 kB / 426.8 MB, free: 1.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.08063, allocations: 0.7137 MB / 427.5 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.08083, allocations: 325.3 kB / 427.8 MB, free: 404 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.08102, allocations: 192.2 kB / 428 MB, free: 204 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000493/0.08152, allocations: 0.516 MB / 428.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.08181, allocations: 167.6 kB / 428.7 MB, free: 15.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.08233, allocations: 0.583 MB / 429.2 MB, free: 14.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.08308, allocations: 0.6955 MB / 429.9 MB, free: 13.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.08309, allocations: 7.938 kB / 429.9 MB, free: 13.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00221/0.0853, allocations: 1.277 MB / 431.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.08533, allocations: 8 kB / 431.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.08534, allocations: 4 kB / 431.2 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.08748, allocations: 0.7951 MB / 432 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.08789, allocations: 151.8 kB / 432.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007921/0.09582, allocations: 8.475 MB / 440.6 MB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.09638, allocations: 48.09 kB / 440.7 MB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.09644, allocations: 47.98 kB / 440.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000544/0.09698, allocations: 296.8 kB / 441 MB, free: 2.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004478/0.09743, allocations: 0.5791 MB / 441.6 MB, free: 1.688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001016/0.09845, allocations: 0.6993 MB / 442.3 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.09845, allocations: 0 / 442.3 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.1641/0.2625, allocations: 1.218 MB / 443.5 MB, free: 97.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.2626, allocations: 6.375 kB / 443.5 MB, free: 97.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2626, allocations: 12.03 kB / 443.5 MB, free: 97.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.2645, allocations: 0.7453 MB / 444.3 MB, free: 97.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.2649, allocations: 153.6 kB / 444.4 MB, free: 97.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006371/0.2713, allocations: 8.346 MB / 452.8 MB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/0.2719, allocations: 46.14 kB / 452.8 MB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.2719, allocations: 45.23 kB / 452.9 MB, free: 92.23 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.0002115/0.2721, allocations: 325 kB / 453.2 MB, free: 91.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.2723, allocations: 142.5 kB / 453.3 MB, free: 91.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/0.2732, allocations: 0.7064 MB / 454 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2732, allocations: 13.69 kB / 454.1 MB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2732, allocations: 3.188 kB / 454.1 MB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2732, allocations: 3.422 kB / 454.1 MB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.2753, allocations: 1.66 MB / 455.7 MB, free: 91.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2753, allocations: 0 / 455.7 MB, free: 91.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.2758, allocations: 171 kB / 455.9 MB, free: 91.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.276, allocations: 94.05 kB / 456 MB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.276, allocations: 22.31 kB / 456 MB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.2773, allocations: 5.44 MB / 461.4 MB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2773, allocations: 0 / 461.4 MB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.2784, allocations: 1.15 MB / 462.6 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.2786, allocations: 184.7 kB / 462.8 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.2787, allocations: 31.22 kB / 462.8 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.279, allocations: 34.78 kB / 462.8 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/0.2791, allocations: 63.14 kB / 462.9 MB, free: 85.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.2792, allocations: 23.19 kB / 462.9 MB, free: 85.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004006/0.2796, allocations: 0.5028 MB / 463.4 MB, free: 85.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2796, allocations: 0.75 kB / 463.4 MB, free: 85.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001311/0.2809, allocations: 0.5495 MB / 464 MB, free: 85.57 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.0002824/0.2811, allocations: 153.2 kB / 464.1 MB, free: 85.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.2838, allocations: 2.71 MB / 466.8 MB, free: 84.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2838, allocations: 0 / 466.8 MB, free: 84.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.2844, allocations: 0.801 MB / 467.6 MB, free: 83.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.2851, allocations: 269.2 kB / 467.9 MB, free: 83.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.2889, allocations: 2.763 MB / 470.7 MB, free: 82.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.2892, allocations: 377.1 kB / 471 MB, free: 82.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004903/0.2897, allocations: 229.7 kB / 471.2 MB, free: 82.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.2899, allocations: 82.67 kB / 471.3 MB, free: 82.33 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/0.2899, allocations: 0 / 471.3 MB, free: 82.33 MB / 410.7 MB Notification: Performance of Templates: time 0.03181/0.3217, allocations: 24.41 MB / 495.7 MB, free: 78.54 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.8928296798840165]