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.001023/0.001023, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001174/0.001174, allocations: 170 kB / 25.61 MB, free: 8.582 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 0.9482/0.9482, allocations: 177.1 MB / 206 MB, free: 4.512 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.1155/0.1155, allocations: 29.42 MB / 292 MB, free: 2.613 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.222e-06/1.222e-06, allocations: 0 / 370.9 MB, free: 32.28 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.066e-05, allocations: 5.266 kB / 370.9 MB, free: 32.28 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01005/0.01007, allocations: 8.965 MB / 379.9 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006107/0.01618, allocations: 5.892 MB / 385.8 MB, free: 17.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.01685, allocations: 59.56 kB / 385.8 MB, free: 17.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.02881, allocations: 14.15 MB / 400 MB, free: 3.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.03043, allocations: 0.8195 MB / 400.8 MB, free: 2.309 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.03147, allocations: 0.6588 MB / 401.4 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003277/0.03474, allocations: 3.707 MB / 405.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.03596, allocations: 1.019 MB / 406.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.03742, allocations: 1.282 MB / 407.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.03863, allocations: 0.9115 MB / 408.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.03888, allocations: 152 kB / 408.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006672/0.03954, allocations: 483.2 kB / 409 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.03997, allocations: 0.6467 MB / 409.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000698/0.04067, allocations: 0.5417 MB / 410.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.04234, allocations: 1.487 MB / 411.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.04234, allocations: 4 kB / 411.7 MB, free: 7.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.04234, allocations: 0 / 411.7 MB, free: 7.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.755e-05/0.04239, allocations: 0 / 411.7 MB, free: 7.375 MB / 330.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.002643/0.04504, allocations: 1.923 MB / 413.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.04507, allocations: 8.031 kB / 413.6 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006641/0.04573, allocations: 327.8 kB / 413.9 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.04704, allocations: 1.084 MB / 415 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.04709, allocations: 82.58 kB / 415.1 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.04729, allocations: 156 kB / 415.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009832/0.04827, allocations: 1.006 MB / 416.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.0483, allocations: 0 / 416.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.04837, allocations: 47.98 kB / 416.3 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.712e-05/0.04846, allocations: 82.03 kB / 416.4 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/0.04901, allocations: 406.3 kB / 416.8 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.05344, allocations: 5.127 MB / 421.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.05398, allocations: 0.4899 MB / 422.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.05426, allocations: 234 kB / 422.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.05431, allocations: 16.59 kB / 422.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.05434, allocations: 50.05 kB / 422.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=76): time 2.745e-06/0.05434, allocations: 4 kB / 422.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.002678/0.05702, allocations: 1.631 MB / 424.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.05709, allocations: 204.8 kB / 424.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.05767, allocations: 0.8059 MB / 425.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.05771, allocations: 41.7 kB / 425.4 MB, free: 9.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.05808, allocations: 0.7137 MB / 426.1 MB, free: 8.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.05827, allocations: 321.2 kB / 426.4 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.05846, allocations: 200.2 kB / 426.6 MB, free: 7.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.05862, allocations: 0.5198 MB / 427.1 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.05879, allocations: 123.6 kB / 427.2 MB, free: 7.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/0.05943, allocations: 0.548 MB / 427.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.05996, allocations: 0.6331 MB / 428.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.05996, allocations: 0 / 428.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001772/0.06174, allocations: 1.171 MB / 429.6 MB, free: 4.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.06176, allocations: 8 kB / 429.6 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.06177, allocations: 8 kB / 429.6 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.06359, allocations: 0.7523 MB / 430.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.06395, allocations: 151.7 kB / 430.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006861/0.07081, allocations: 8.172 MB / 438.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.07134, allocations: 44.11 kB / 438.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.07139, allocations: 35.92 kB / 438.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004085/0.0718, allocations: 260.8 kB / 439 MB, free: 10.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003362/0.07214, allocations: 0.5402 MB / 439.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005328/0.07267, allocations: 0.6331 MB / 440.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.07268, allocations: 4 kB / 440.2 MB, free: 9.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.001631/0.07431, allocations: 1.102 MB / 441.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.07432, allocations: 8 kB / 441.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.07432, allocations: 8 kB / 441.3 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.0763, allocations: 0.724 MB / 442 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.07674, allocations: 151.7 kB / 442.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007344/0.08409, allocations: 8.066 MB / 450.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.08476, allocations: 39.98 kB / 450.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.08482, allocations: 32.12 kB / 450.3 MB, free: 14.76 MB / 378.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.0002349/0.08505, allocations: 331.8 kB / 450.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.08523, allocations: 143.2 kB / 450.8 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.08628, allocations: 0.6445 MB / 451.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.08628, allocations: 8 kB / 451.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.08629, allocations: 7.984 kB / 451.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.08629, allocations: 3.984 kB / 451.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.0882, allocations: 1.415 MB / 452.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.0882, allocations: 3.984 kB / 452.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.08881, allocations: 163.8 kB / 453 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/0.08896, allocations: 82.92 kB / 453.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.08901, allocations: 31.97 kB / 453.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.09117, allocations: 5.368 MB / 458.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.09117, allocations: 0 / 458.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.09217, allocations: 1.073 MB / 459.5 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.09241, allocations: 183.1 kB / 459.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/0.0925, allocations: 27.98 kB / 459.8 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.0928, allocations: 27.98 kB / 459.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.09287, allocations: 60.89 kB / 459.8 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.09291, allocations: 19.98 kB / 459.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003516/0.09326, allocations: 472 kB / 460.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09326, allocations: 3.938 kB / 460.3 MB, free: 4.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0014/0.09466, allocations: 0.5507 MB / 460.9 MB, free: 3.695 MB / 378.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.0002513/0.09491, allocations: 155 kB / 461 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003102/0.09801, allocations: 2.598 MB / 463.6 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.09801, allocations: 0 / 463.6 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005626/0.09857, allocations: 0.7705 MB / 464.4 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/0.09941, allocations: 277.3 kB / 464.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.1028, allocations: 2.607 MB / 467.3 MB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1032, allocations: 378.4 kB / 467.6 MB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004486/0.1036, allocations: 156.5 kB / 467.8 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.1041, allocations: 314 kB / 468.1 MB, free: 12.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1041, allocations: 0 / 468.1 MB, free: 12.22 MB / 394.7 MB Notification: Performance of Templates: time 0.03142/0.1355, allocations: 26.2 MB / 494.3 MB, free: 2.336 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.848022310063243]