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.001419/0.001419, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001599/0.001599, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.996/0.996, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2489/0.2489, allocations: 29.42 MB / 291.2 MB, free: 2.473 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.663e-06/1.663e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.552e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006697/0.006713, allocations: 6.3 MB / 376.4 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004239/0.01095, allocations: 2.929 MB / 379.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.01138, allocations: 39.69 kB / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.01217, allocations: 278.2 kB / 379.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.01373, allocations: 0.711 MB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.01449, allocations: 394.9 kB / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.01609, allocations: 1.367 MB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006631/0.01675, allocations: 0.5613 MB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009204/0.01767, allocations: 0.7989 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008703/0.01854, allocations: 0.6156 MB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.01864, allocations: 72 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006644/0.01931, allocations: 395.2 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.01971, allocations: 494.8 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.02004, allocations: 355.2 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.02108, allocations: 0.9382 MB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.02108, allocations: 0 / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.02108, allocations: 0 / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.02109, allocations: 0 / 386.3 MB, free: 10.45 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.001759/0.02285, allocations: 1.289 MB / 387.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.02289, allocations: 11.98 kB / 387.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.02372, allocations: 268.1 kB / 387.9 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00078/0.0245, allocations: 0.5856 MB / 388.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.02455, allocations: 58.38 kB / 388.5 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.02472, allocations: 104.6 kB / 388.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.02554, allocations: 0.6981 MB / 389.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.02556, allocations: 0 / 389.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.02562, allocations: 32 kB / 389.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.02573, allocations: 73.95 kB / 389.4 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.02624, allocations: 325.5 kB / 389.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.02967, allocations: 3.797 MB / 393.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.02996, allocations: 182 kB / 393.7 MB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.03011, allocations: 115.3 kB / 393.8 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.03014, allocations: 8 kB / 393.8 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.03016, allocations: 41.39 kB / 393.9 MB, free: 2.535 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/0.03017, allocations: 4 kB / 393.9 MB, free: 2.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002139/0.03231, allocations: 1.027 MB / 394.9 MB, free: 1.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.03235, allocations: 85.64 kB / 395 MB, free: 1.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.03277, allocations: 0.5333 MB / 395.5 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.0328, allocations: 33.7 kB / 395.6 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.0331, allocations: 0.5335 MB / 396.1 MB, free: 240 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.03323, allocations: 206.3 kB / 396.3 MB, free: 32 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.03342, allocations: 152.4 kB / 396.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.03361, allocations: 0.5585 MB / 397 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.03375, allocations: 89.91 kB / 397.1 MB, free: 15.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.03407, allocations: 432.5 kB / 397.5 MB, free: 14.64 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.0006895/0.03476, allocations: 0.6982 MB / 398.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.03476, allocations: 0 / 398.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009782/0.03574, allocations: 0.6664 MB / 398.9 MB, free: 13.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.03576, allocations: 11.94 kB / 398.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005432/0.0363, allocations: 356.1 kB / 399.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.03666, allocations: 139.2 kB / 399.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.03706, allocations: 159.7 kB / 399.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.03996, allocations: 5.383 MB / 404.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.04023, allocations: 23.95 kB / 404.9 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.04027, allocations: 27.98 kB / 405 MB, free: 6.66 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.0002137/0.04048, allocations: 212.3 kB / 405.2 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.04058, allocations: 79.56 kB / 405.2 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.04107, allocations: 391.9 kB / 405.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.04108, allocations: 8 kB / 405.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.04108, allocations: 0 / 405.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.04109, allocations: 3.984 kB / 405.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.04233, allocations: 0.9582 MB / 406.6 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.04233, allocations: 4 kB / 406.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.0427, allocations: 115.8 kB / 406.7 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.04271, allocations: 7.984 kB / 406.7 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.04274, allocations: 8 kB / 406.7 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.04274, allocations: 7.938 kB / 406.7 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.04275, allocations: 4 kB / 406.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.04338, allocations: 0.6549 MB / 407.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.04351, allocations: 91.47 kB / 407.5 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.04356, allocations: 12 kB / 407.5 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.04375, allocations: 12 kB / 407.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.0438, allocations: 44.31 kB / 407.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.04382, allocations: 12 kB / 407.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.04404, allocations: 318.7 kB / 407.9 MB, free: 3.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04404, allocations: 0 / 407.9 MB, free: 3.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005631/0.0446, allocations: 204 kB / 408.1 MB, free: 3.426 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.000116/0.04472, allocations: 111.2 kB / 408.2 MB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.04581, allocations: 0.9005 MB / 409.1 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.04581, allocations: 0 / 409.1 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.046, allocations: 159.3 kB / 409.2 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.04655, allocations: 139.5 kB / 409.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.04893, allocations: 1.66 MB / 411 MB, free: 348 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.04913, allocations: 246.8 kB / 411.3 MB, free: 80 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002589/0.04939, allocations: 101.4 kB / 411.4 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.04968, allocations: 194.1 kB / 411.6 MB, free: 15.79 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.04968, allocations: 0 / 411.6 MB, free: 15.79 MB / 394.7 MB Notification: Performance of Templates: time 0.01311/0.06279, allocations: 8.11 MB / 419.7 MB, free: 7.785 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.119806391187012]