Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.001475/0.001475, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001597/0.001597, allocations: 164.3 kB / 23.95 MB, free: 4.156 MB / 14.72 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.64/1.64, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.1808/0.1808, allocations: 29.44 MB / 290.1 MB, free: 3.27 MB / 270.1 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.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.928e-05, allocations: 6.281 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.0127/0.01273, allocations: 8.643 MB / 439.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0073/0.02003, allocations: 3.1 MB / 442.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.02119, allocations: 47.62 kB / 442.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.02317, allocations: 405.2 kB / 442.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.02717, allocations: 0.8349 MB / 443.7 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.02891, allocations: 495 kB / 444.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003174/0.03208, allocations: 1.924 MB / 446.2 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.0339, allocations: 0.94 MB / 447.1 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.03608, allocations: 1.075 MB / 448.2 MB, free: 392 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.213/0.2491, allocations: 0.7106 MB / 448.9 MB, free: 17.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.2495, allocations: 140 kB / 449 MB, free: 17.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009919/0.2505, allocations: 403.4 kB / 449.4 MB, free: 17.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004889/0.251, allocations: 0.5146 MB / 449.9 MB, free: 17.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005862/0.2516, allocations: 485.7 kB / 450.4 MB, free: 17.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.2541, allocations: 2.025 MB / 452.4 MB, free: 17.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2541, allocations: 1.094 kB / 452.4 MB, free: 17.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2541, allocations: 0 / 452.4 MB, free: 17.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.2542, allocations: 0 / 452.4 MB, free: 17.31 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003095/0.2573, allocations: 1.596 MB / 454 MB, free: 16.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2573, allocations: 12.95 kB / 454 MB, free: 16.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/0.2581, allocations: 195.3 kB / 454.2 MB, free: 16.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.2597, allocations: 0.8751 MB / 455.1 MB, free: 16.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.867e-05/0.2598, allocations: 80.58 kB / 455.2 MB, free: 16.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.2601, allocations: 132.2 kB / 455.3 MB, free: 16.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.2623, allocations: 1.405 MB / 456.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.2624, allocations: 2.172 kB / 456.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.2625, allocations: 40.5 kB / 456.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.2626, allocations: 70.69 kB / 456.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.2645, allocations: 1.067 MB / 457.9 MB, free: 15.89 MB / 366.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 8.318498358936397e-4 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006064/0.2705, allocations: 4.384 MB / 462.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.2717, allocations: 0.6437 MB / 462.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.2722, allocations: 325.2 kB / 463.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.2722, allocations: 9.141 kB / 463.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2722, allocations: 40.31 kB / 463.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=64): time 2.905e-06/0.2722, allocations: 3.469 kB / 463.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=71): time 0.005355/0.2776, allocations: 2.5 MB / 465.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.2777, allocations: 165.2 kB / 466 MB, free: 11.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.2785, allocations: 0.6886 MB / 466.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.2785, allocations: 36.95 kB / 466.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.2789, allocations: 0.5809 MB / 467.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.2791, allocations: 272.4 kB / 467.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.2794, allocations: 156.2 kB / 467.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2795, allocations: 392.8 kB / 468.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.2801, allocations: 299.5 kB / 468.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.2808, allocations: 0.6096 MB / 469 MB, free: 9.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.282, allocations: 0.8997 MB / 469.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.282, allocations: 2.75 kB / 469.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002828/0.2848, allocations: 1.328 MB / 471.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2849, allocations: 8.25 kB / 471.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.2849, allocations: 7.094 kB / 471.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.2863, allocations: 428.4 kB / 471.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.2869, allocations: 164.5 kB / 471.8 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007603/0.2945, allocations: 5.071 MB / 476.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.2952, allocations: 51.77 kB / 476.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.2953, allocations: 35.53 kB / 476.9 MB, free: 5.262 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008662/0.2962, allocations: 0.5614 MB / 477.5 MB, free: 4.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005242/0.2967, allocations: 0.5881 MB / 478.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008896/0.2976, allocations: 0.881 MB / 479 MB, free: 3.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-06/0.2976, allocations: 3.938 kB / 479 MB, free: 3.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002331/0.2999, allocations: 1.242 MB / 480.2 MB, free: 3.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2999, allocations: 13.14 kB / 480.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2999, allocations: 8.406 kB / 480.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.3012, allocations: 397.9 kB / 480.6 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.3017, allocations: 166.1 kB / 480.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006405/0.3082, allocations: 4.85 MB / 485.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.3089, allocations: 46.89 kB / 485.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/0.309, allocations: 43.98 kB / 485.7 MB, free: 15.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003679/0.3094, allocations: 246.1 kB / 486 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.3097, allocations: 87.44 kB / 486.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.3115, allocations: 0.7872 MB / 486.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.3115, allocations: 8 kB / 486.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3115, allocations: 7.938 kB / 486.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3116, allocations: 7.984 kB / 486.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.3151, allocations: 1.595 MB / 488.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.3152, allocations: 7.312 kB / 488.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.3161, allocations: 158.8 kB / 488.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.3161, allocations: 4.031 kB / 488.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/0.3162, allocations: 28.44 kB / 488.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.3162, allocations: 4 kB / 488.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3162, allocations: 0 / 488.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.3184, allocations: 1.271 MB / 489.9 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.3188, allocations: 153.2 kB / 490.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.319, allocations: 16 kB / 490.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.3195, allocations: 31.97 kB / 490.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3196, allocations: 44.58 kB / 490.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/0.3197, allocations: 23.98 kB / 490.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000691/0.3204, allocations: 463 kB / 490.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3204, allocations: 4 kB / 490.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001969/0.3223, allocations: 463.9 kB / 491.1 MB, free: 10.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003698/0.3227, allocations: 140.1 kB / 491.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004221/0.3269, allocations: 1.826 MB / 493.1 MB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3269, allocations: 0 / 493.1 MB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006378/0.3276, allocations: 340.9 kB / 493.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.3288, allocations: 213.3 kB / 493.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/0.3336, allocations: 2.308 MB / 495.9 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008924/0.3345, allocations: 0.6145 MB / 496.5 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008331/0.3354, allocations: 238.7 kB / 496.8 MB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.3356, allocations: 68.48 kB / 496.8 MB, free: 4.453 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3356, allocations: 0 / 496.8 MB, free: 4.453 MB / 382.1 MB Notification: Performance of Templates: time 0.04136/0.377, allocations: 16.01 MB / 0.5008 GB, free: 4.711 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7041009441018105] Failed to read output from testmodel.py, exit status != 0: 0.3871692530810833 0.41059836599999994 0.15189446999999995 Calling exit ...