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.0009812/0.0009812, 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.0009449/0.0009449, allocations: 165 kB / 24.56 MB, free: 12 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.9581/0.9581, allocations: 177.1 MB / 205 MB, free: 5.609 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.2382/0.2382, allocations: 29.42 MB / 290.9 MB, free: 2.508 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.914e-06/1.914e-06, allocations: 0 / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.143e-05, allocations: 9.547 kB / 369.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01423/0.01426, allocations: 9.08 MB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.02531, allocations: 5.98 MB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009627/0.02627, allocations: 55.56 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01539/0.04166, allocations: 14.1 MB / 398.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.04369, allocations: 0.8156 MB / 399.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.04498, allocations: 0.655 MB / 400.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00412/0.0491, allocations: 3.7 MB / 404.1 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.05047, allocations: 1.019 MB / 405.1 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.05222, allocations: 1.29 MB / 406.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.05342, allocations: 0.9114 MB / 407.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.05369, allocations: 152 kB / 407.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007379/0.05442, allocations: 475.3 kB / 407.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.05489, allocations: 0.6544 MB / 408.5 MB, free: 3.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004495/0.05534, allocations: 0.53 MB / 409.1 MB, free: 3.418 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.05683, allocations: 1.479 MB / 410.6 MB, free: 1.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.05684, allocations: 4 kB / 410.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.05684, allocations: 0 / 410.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.05685, allocations: 0 / 410.6 MB, free: 1.93 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.002346/0.0592, allocations: 1.955 MB / 412.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.05924, allocations: 11.98 kB / 412.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.05982, allocations: 339.7 kB / 412.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.06099, allocations: 1.111 MB / 414 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.06104, allocations: 86.56 kB / 414.1 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.06124, allocations: 144.1 kB / 414.2 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.06253, allocations: 1.084 MB / 415.3 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.06257, allocations: 7.938 kB / 415.3 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.06266, allocations: 51.92 kB / 415.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.06278, allocations: 82.03 kB / 415.4 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.06384, allocations: 0.4921 MB / 415.9 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005602/0.06945, allocations: 5.17 MB / 421.1 MB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008083/0.07025, allocations: 0.5375 MB / 421.6 MB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.07072, allocations: 272.9 kB / 421.9 MB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.07077, allocations: 16.66 kB / 421.9 MB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.0708, allocations: 46.05 kB / 421.9 MB, free: 6.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 2.896e-06/0.07081, allocations: 4 kB / 422 MB, free: 6.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.00398/0.07479, allocations: 2.326 MB / 424.3 MB, free: 3.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.07487, allocations: 188.9 kB / 424.5 MB, free: 3.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.07596, allocations: 0.8309 MB / 425.3 MB, free: 2.574 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.07601, allocations: 37.7 kB / 425.3 MB, free: 2.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.07642, allocations: 0.7062 MB / 426 MB, free: 1.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.07664, allocations: 325.2 kB / 426.4 MB, free: 1.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.07687, allocations: 188.2 kB / 426.5 MB, free: 1.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.07702, allocations: 0.5199 MB / 427.1 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.07734, allocations: 163.6 kB / 427.2 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.07787, allocations: 0.5793 MB / 427.8 MB, free: 15.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008743/0.07874, allocations: 0.6918 MB / 428.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.07874, allocations: 0 / 428.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002502/0.08125, allocations: 1.281 MB / 429.8 MB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.08127, allocations: 8 kB / 429.8 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.08128, allocations: 4.047 kB / 429.8 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/0.08369, allocations: 0.7912 MB / 430.6 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.08415, allocations: 147.8 kB / 430.7 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009285/0.09344, allocations: 8.459 MB / 439.2 MB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.09396, allocations: 47.97 kB / 439.2 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/0.09403, allocations: 48.09 kB / 439.3 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007888/0.09482, allocations: 300.8 kB / 439.6 MB, free: 3.586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005146/0.09533, allocations: 0.5715 MB / 440.1 MB, free: 2.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008893/0.09622, allocations: 0.6918 MB / 440.8 MB, free: 2.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.578e-06/0.09623, allocations: 4 kB / 440.8 MB, free: 2.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002285/0.09851, allocations: 1.199 MB / 442 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.09853, allocations: 12 kB / 442 MB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.09854, allocations: 8 kB / 442 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/0.1008, allocations: 0.7474 MB / 442.8 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1599/0.2607, allocations: 147.4 kB / 442.9 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006586/0.2673, allocations: 8.328 MB / 451.3 MB, free: 85.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/0.2679, allocations: 52.09 kB / 451.3 MB, free: 85.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.268, allocations: 35.38 kB / 451.4 MB, free: 85.31 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.0002437/0.2682, allocations: 331 kB / 451.7 MB, free: 85.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.2684, allocations: 143.1 kB / 451.8 MB, free: 85.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009189/0.2693, allocations: 0.6997 MB / 452.5 MB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2693, allocations: 13.44 kB / 452.5 MB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2693, allocations: 3.969 kB / 452.5 MB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2693, allocations: 6.703 kB / 452.5 MB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.2712, allocations: 1.656 MB / 454.2 MB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2712, allocations: 0 / 454.2 MB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.2716, allocations: 179.9 kB / 454.4 MB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.2718, allocations: 78.77 kB / 454.4 MB, free: 84.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.2718, allocations: 31.33 kB / 454.5 MB, free: 84.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.2732, allocations: 5.435 MB / 459.9 MB, free: 79.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2732, allocations: 6.969 kB / 459.9 MB, free: 79.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2743, allocations: 1.15 MB / 461.1 MB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.2746, allocations: 192.1 kB / 461.3 MB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.2747, allocations: 23.06 kB / 461.3 MB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.275, allocations: 48.12 kB / 461.3 MB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.2751, allocations: 60.56 kB / 461.4 MB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.2751, allocations: 22.06 kB / 461.4 MB, free: 78.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003987/0.2755, allocations: 0.4998 MB / 461.9 MB, free: 78.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2755, allocations: 0 / 461.9 MB, free: 78.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001412/0.2769, allocations: 0.5539 MB / 462.5 MB, free: 78.64 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.0003636/0.2773, allocations: 149.7 kB / 462.6 MB, free: 78.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003029/0.2803, allocations: 2.696 MB / 465.3 MB, free: 77.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2803, allocations: 2.281 kB / 465.3 MB, free: 77.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.2808, allocations: 0.7935 MB / 466.1 MB, free: 76.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007682/0.2816, allocations: 282.1 kB / 466.4 MB, free: 76.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.285, allocations: 2.624 MB / 469 MB, free: 75.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.2853, allocations: 376.5 kB / 469.4 MB, free: 75.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004942/0.2858, allocations: 227.9 kB / 469.6 MB, free: 75.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.286, allocations: 81.27 kB / 469.7 MB, free: 75.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.924e-06/0.286, allocations: 0 / 469.7 MB, free: 75.46 MB / 410.7 MB Notification: Performance of Templates: time 0.0325/0.3185, allocations: 25.23 MB / 494.9 MB, free: 72.11 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.667274967767298]