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.001113/0.001113, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001213/0.001213, allocations: 161 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.9797/0.9797, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.243/0.243, allocations: 29.42 MB / 290.9 MB, free: 2.5 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.573e-06/1.573e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.481e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.00633/0.006355, allocations: 6.37 MB / 376 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004107/0.01046, allocations: 2.964 MB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004838/0.01095, allocations: 39.69 kB / 379 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.0118, allocations: 282.2 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.01317, allocations: 0.6994 MB / 380 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.01422, allocations: 402.8 kB / 380.4 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.01567, allocations: 1.363 MB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006353/0.01631, allocations: 0.5574 MB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007292/0.01704, allocations: 0.7365 MB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007058/0.01774, allocations: 0.6 MB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01784, allocations: 72 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.01855, allocations: 0.5028 MB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.01887, allocations: 498.7 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.01917, allocations: 355.2 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.02031, allocations: 1.102 MB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.02031, allocations: 0 / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.02032, allocations: 0 / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.02033, allocations: 0 / 386.2 MB, free: 10.4 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.001544/0.02188, allocations: 1.336 MB / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.02191, allocations: 15.98 kB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009913/0.02291, allocations: 304.1 kB / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009732/0.02388, allocations: 0.6676 MB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.02392, allocations: 58.38 kB / 388.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.02411, allocations: 100.6 kB / 388.6 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009514/0.02506, allocations: 0.7528 MB / 389.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.02508, allocations: 7.938 kB / 389.4 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.02513, allocations: 39.92 kB / 389.4 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.02525, allocations: 69.97 kB / 389.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.02588, allocations: 403.6 kB / 389.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.02909, allocations: 3.833 MB / 393.7 MB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.02943, allocations: 210 kB / 393.9 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.0296, allocations: 135.3 kB / 394.1 MB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.02963, allocations: 11.94 kB / 394.1 MB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.02966, allocations: 41.39 kB / 394.1 MB, free: 2.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/0.02966, allocations: 0 / 394.1 MB, free: 2.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002239/0.0319, allocations: 1.353 MB / 395.5 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.03194, allocations: 85.59 kB / 395.5 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.03231, allocations: 0.5375 MB / 396.1 MB, free: 44 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.03234, allocations: 33.7 kB / 396.1 MB, free: 4 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.03258, allocations: 0.5336 MB / 396.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.03268, allocations: 198.4 kB / 396.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.03283, allocations: 152.2 kB / 397 MB, free: 15.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.03298, allocations: 0.5508 MB / 397.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.03315, allocations: 114 kB / 397.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.03346, allocations: 464.5 kB / 398.1 MB, free: 13.83 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.0007037/0.03416, allocations: 0.753 MB / 398.9 MB, free: 12.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.03417, allocations: 4 kB / 398.9 MB, free: 12.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001109/0.03528, allocations: 0.7172 MB / 399.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.0353, allocations: 12 kB / 399.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005822/0.03588, allocations: 412.5 kB / 400 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003526/0.03623, allocations: 138.9 kB / 400.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.03665, allocations: 175.7 kB / 400.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.03938, allocations: 5.463 MB / 405.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.03968, allocations: 39.97 kB / 405.8 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.03971, allocations: 31.98 kB / 405.8 MB, free: 5.543 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.0002546/0.03997, allocations: 216.3 kB / 406 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-05/0.04005, allocations: 83.56 kB / 406.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.04056, allocations: 431.8 kB / 406.5 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.04056, allocations: 4 kB / 406.6 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.04056, allocations: 0 / 406.6 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.04057, allocations: 3.984 kB / 406.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.04187, allocations: 1.137 MB / 407.7 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.04188, allocations: 8 kB / 407.7 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.0422, allocations: 127.8 kB / 407.8 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.0422, allocations: 4 kB / 407.8 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.04223, allocations: 15.94 kB / 407.8 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.04223, allocations: 4.188 kB / 407.8 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.04223, allocations: 8 kB / 407.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.04285, allocations: 0.6861 MB / 408.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.04324, allocations: 103.5 kB / 408.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.04329, allocations: 19.94 kB / 408.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.04346, allocations: 19.98 kB / 408.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.04351, allocations: 44.39 kB / 408.7 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.04353, allocations: 16 kB / 408.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.04377, allocations: 338.8 kB / 409.1 MB, free: 2.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.04377, allocations: 4 kB / 409.1 MB, free: 2.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005555/0.04433, allocations: 231.9 kB / 409.3 MB, free: 1.945 MB / 378.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.0002563/0.04458, allocations: 138.8 kB / 409.4 MB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009162/0.0455, allocations: 0.9366 MB / 410.4 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0455, allocations: 3.938 kB / 410.4 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.04569, allocations: 179.7 kB / 410.6 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.04616, allocations: 145.5 kB / 410.7 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.04844, allocations: 1.669 MB / 412.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.04861, allocations: 238.8 kB / 412.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.0489, allocations: 173.3 kB / 412.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.04902, allocations: 56.48 kB / 412.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.04902, allocations: 0 / 412.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of Templates: time 0.01116/0.06018, allocations: 8.177 MB / 421 MB, free: 6.223 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: 3.389571766369045]