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.0009231/0.0009231, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.0009189/0.0009189, allocations: 165.1 kB / 25.61 MB, free: 8.902 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.8993/0.8993, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.1177/0.1177, allocations: 29.43 MB / 292 MB, free: 2.617 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.082e-06/1.082e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.563e-05, allocations: 4.938 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.004344/0.004359, allocations: 6.3 MB / 377.2 MB, free: 25.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.006988, allocations: 2.94 MB / 380.1 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.007263, allocations: 31.75 kB / 380.2 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.007883, allocations: 282.2 kB / 380.4 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008586/0.008741, allocations: 0.7148 MB / 381.1 MB, free: 22.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.009228, allocations: 402.9 kB / 381.5 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008369/0.01007, allocations: 1.357 MB / 382.9 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.01053, allocations: 0.569 MB / 383.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.01106, allocations: 0.7988 MB / 384.3 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000591/0.01165, allocations: 0.6195 MB / 384.9 MB, free: 18.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.429e-05/0.01172, allocations: 72 kB / 385 MB, free: 18.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.0121, allocations: 395.2 kB / 385.3 MB, free: 17.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.01233, allocations: 486.8 kB / 385.8 MB, free: 17.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.01254, allocations: 355.2 kB / 386.2 MB, free: 16.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.01322, allocations: 0.9382 MB / 387.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01323, allocations: 0 / 387.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01323, allocations: 4 kB / 387.1 MB, free: 16.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.01324, allocations: 4 kB / 387.1 MB, free: 16.02 MB / 314.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.001018/0.01426, allocations: 1.281 MB / 388.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.01429, allocations: 8.031 kB / 388.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/0.01489, allocations: 268.1 kB / 388.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.01544, allocations: 0.5817 MB / 389.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.01547, allocations: 58.38 kB / 389.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.01559, allocations: 104.6 kB / 389.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.01612, allocations: 0.6864 MB / 390.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.01614, allocations: 3.938 kB / 390.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.01618, allocations: 39.97 kB / 390.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.443e-05/0.01627, allocations: 69.95 kB / 390.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.0166, allocations: 325.5 kB / 390.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.01871, allocations: 3.801 MB / 394.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.01893, allocations: 178 kB / 394.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.01902, allocations: 114.1 kB / 394.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.01905, allocations: 12 kB / 394.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.01907, allocations: 41.39 kB / 394.7 MB, free: 8.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 2.404e-06/0.01907, allocations: 0 / 394.7 MB, free: 8.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001414/0.02048, allocations: 1.038 MB / 395.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.02051, allocations: 81.61 kB / 395.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.02074, allocations: 0.5294 MB / 396.3 MB, free: 6.398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.02076, allocations: 33.7 kB / 396.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.0209, allocations: 0.5296 MB / 396.9 MB, free: 5.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.02097, allocations: 206.2 kB / 397.1 MB, free: 5.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.02109, allocations: 160.2 kB / 397.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.02116, allocations: 0.5585 MB / 397.8 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.363e-05/0.02126, allocations: 85.92 kB / 397.9 MB, free: 4.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.02142, allocations: 436.5 kB / 398.3 MB, free: 4.223 MB / 314.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.0004188/0.02184, allocations: 0.6982 MB / 399 MB, free: 3.387 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.02184, allocations: 4 kB / 399 MB, free: 3.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006795/0.02252, allocations: 0.6548 MB / 399.6 MB, free: 2.707 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.02254, allocations: 12 kB / 399.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000368/0.0229, allocations: 364.4 kB / 400 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.02319, allocations: 130.9 kB / 400.1 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.02348, allocations: 163.7 kB / 400.3 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.02543, allocations: 5.379 MB / 405.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.02567, allocations: 27.89 kB / 405.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.0257, allocations: 27.98 kB / 405.7 MB, free: 12.24 MB / 330.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.0002176/0.02591, allocations: 220.3 kB / 406 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/0.02601, allocations: 79.56 kB / 406 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.02642, allocations: 387.8 kB / 406.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.02643, allocations: 8 kB / 406.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.02643, allocations: 0 / 406.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.02643, allocations: 3.984 kB / 406.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.02746, allocations: 0.9621 MB / 407.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.02747, allocations: 7.984 kB / 407.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.02776, allocations: 111.9 kB / 407.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.02777, allocations: 4 kB / 407.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.02779, allocations: 15.98 kB / 407.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.02779, allocations: 4 kB / 407.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.0278, allocations: 8.125 kB / 407.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.02829, allocations: 0.6392 MB / 408.2 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.0284, allocations: 83.58 kB / 408.3 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.02845, allocations: 23.88 kB / 408.3 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.02859, allocations: 12 kB / 408.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.02863, allocations: 40.38 kB / 408.3 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.02865, allocations: 12 kB / 408.3 MB, free: 9.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.02882, allocations: 314.7 kB / 408.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02882, allocations: 0 / 408.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004548/0.02927, allocations: 212 kB / 408.9 MB, free: 9.004 MB / 330.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.0001044/0.02937, allocations: 115.1 kB / 409 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006978/0.03007, allocations: 0.8999 MB / 409.9 MB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.03007, allocations: 0 / 409.9 MB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.03022, allocations: 156.8 kB / 410 MB, free: 7.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.03066, allocations: 133.8 kB / 410.1 MB, free: 7.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.03263, allocations: 1.669 MB / 411.8 MB, free: 5.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.03279, allocations: 242.8 kB / 412.1 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.033, allocations: 97.41 kB / 412.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.03324, allocations: 198.1 kB / 412.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.03324, allocations: 0 / 412.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of Templates: time 0.01161/0.04485, allocations: 8.269 MB / 420.6 MB, free: 13.23 MB / 346.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.0488688186742365]