Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.001918/0.001918, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002028/0.002028, allocations: 165.3 kB / 24.27 MB, free: 148 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 1.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3097/0.3097, allocations: 29.41 MB / 290.5 MB, free: 2.434 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.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.384e-05, allocations: 6.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.0111/0.01112, allocations: 7.451 MB / 376.3 MB, free: 3.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.01678, allocations: 2.956 MB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.01723, allocations: 35.69 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.01975, allocations: 0.7738 MB / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.0217, allocations: 0.7226 MB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.02277, allocations: 398.8 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.02464, allocations: 1.351 MB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008744/0.02551, allocations: 0.5612 MB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.02659, allocations: 0.7674 MB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.02763, allocations: 0.5922 MB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.02778, allocations: 76 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.02882, allocations: 0.5028 MB / 385.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005565/0.02937, allocations: 494.8 kB / 385.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.02989, allocations: 363.2 kB / 385.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.03211, allocations: 1.453 MB / 387.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.03212, allocations: 4 kB / 387.4 MB, free: 8.766 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03212, allocations: 0 / 387.4 MB, free: 8.766 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.03213, allocations: 0 / 387.4 MB, free: 8.766 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002582/0.03471, allocations: 1.394 MB / 388.8 MB, free: 7.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.03475, allocations: 15.98 kB / 388.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.03623, allocations: 296.1 kB / 389.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.0379, allocations: 0.6831 MB / 389.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.03796, allocations: 58.38 kB / 389.8 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.0382, allocations: 92.67 kB / 389.9 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.03976, allocations: 0.8427 MB / 390.7 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.0398, allocations: 7.891 kB / 390.7 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.03989, allocations: 43.98 kB / 390.8 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/0.04008, allocations: 73.95 kB / 390.9 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.04118, allocations: 479.5 kB / 391.3 MB, free: 4.672 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006489/0.04767, allocations: 4.087 MB / 395.4 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.0482, allocations: 226 kB / 395.6 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.04851, allocations: 146.5 kB / 395.8 MB, free: 12 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.04855, allocations: 8.719 kB / 395.8 MB, free: 4 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/0.04861, allocations: 41.39 kB / 395.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.04861, allocations: 0 / 395.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.003707/0.05232, allocations: 1.426 MB / 397.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.05238, allocations: 81.61 kB / 397.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.05319, allocations: 0.6391 MB / 398 MB, free: 13.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.05325, allocations: 37.7 kB / 398 MB, free: 13.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004997/0.05374, allocations: 0.5531 MB / 398.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.05397, allocations: 210.3 kB / 398.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.05426, allocations: 176.2 kB / 398.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000379/0.05464, allocations: 0.5783 MB / 399.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.05495, allocations: 137.9 kB / 399.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/0.05564, allocations: 0.4927 MB / 400.2 MB, free: 11.38 MB / 378.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/0.05894, allocations: 1.114 MB / 401.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.05894, allocations: 4 kB / 401.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001789/0.06073, allocations: 0.7683 MB / 402 MB, free: 9.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.06075, allocations: 8 kB / 402 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001074/0.06183, allocations: 447.4 kB / 402.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.06246, allocations: 147 kB / 402.6 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.06312, allocations: 175.7 kB / 402.8 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005464/0.06858, allocations: 5.51 MB / 408.3 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.06907, allocations: 44.3 kB / 408.3 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.06915, allocations: 32 kB / 408.4 MB, free: 2.594 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * 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 initialization (87): * Single equations (assignments): 84 * 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): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004013/0.06955, allocations: 244.2 kB / 408.6 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.0697, allocations: 87.55 kB / 408.7 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009954/0.0707, allocations: 451.8 kB / 409.1 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.0707, allocations: 8 kB / 409.2 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.07071, allocations: 0 / 409.2 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.07071, allocations: 7.984 kB / 409.2 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.07339, allocations: 1.294 MB / 410.5 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.0734, allocations: 4 kB / 410.5 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006493/0.07405, allocations: 128 kB / 410.6 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.07405, allocations: 4 kB / 410.6 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/0.0741, allocations: 15.94 kB / 410.6 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.07411, allocations: 7.938 kB / 410.6 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.07411, allocations: 4 kB / 410.6 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.07532, allocations: 0.7486 MB / 411.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.0756, allocations: 95.58 kB / 411.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.0757, allocations: 31.81 kB / 411.5 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.07601, allocations: 15.98 kB / 411.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/0.0761, allocations: 48.38 kB / 411.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.07613, allocations: 16.06 kB / 411.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000499/0.07663, allocations: 394.8 kB / 412 MB, free: 14.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07663, allocations: 0 / 412 MB, free: 14.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008163/0.07745, allocations: 231.9 kB / 412.2 MB, free: 14.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (55): * Single equations (assignments): 54 * 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.0003101/0.07776, allocations: 135 kB / 412.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.07943, allocations: 0.9949 MB / 413.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.07944, allocations: 8.25 kB / 413.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.07979, allocations: 191.4 kB / 413.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.08056, allocations: 140.3 kB / 413.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.08375, allocations: 1.681 MB / 415.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.08436, allocations: 470.3 kB / 415.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004782/0.08484, allocations: 169.3 kB / 415.9 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.08503, allocations: 56.48 kB / 416 MB, free: 10.69 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.08503, allocations: 0 / 416 MB, free: 10.69 MB / 394.7 MB Notification: Performance of Templates: time 0.01808/0.1031, allocations: 8.164 MB / 424.2 MB, free: 2.641 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.122449473012239]