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.0009667/0.0009667, allocations: 75.77 kB / 21.18 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.001028/0.001028, allocations: 165 kB / 24.56 MB, free: 4 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.9514/0.9514, allocations: 177.1 MB / 205 MB, free: 5.613 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.2267/0.2267, allocations: 29.42 MB / 290.9 MB, free: 2.496 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 2.054e-06/2.054e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.537e-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.00599/0.006015, allocations: 6.366 MB / 376 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00421/0.01023, allocations: 2.967 MB / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.01078, allocations: 39.69 kB / 379 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.01166, allocations: 282.2 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.01303, allocations: 0.707 MB / 380 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007689/0.0138, allocations: 398.8 kB / 380.4 MB, free: 192 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.01522, allocations: 1.359 MB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007212/0.01594, allocations: 0.5612 MB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.0171, allocations: 0.8028 MB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008707/0.01797, allocations: 0.6195 MB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01808, allocations: 72 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.01871, allocations: 387.2 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.01907, allocations: 494.8 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.01939, allocations: 359.1 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.02041, allocations: 0.9382 MB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.02041, allocations: 0 / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02042, allocations: 0 / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.02044, allocations: 4 kB / 385.9 MB, free: 10.59 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.001569/0.02201, allocations: 1.297 MB / 387.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.02205, allocations: 19.97 kB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.0228, allocations: 268.1 kB / 387.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007577/0.02356, allocations: 0.6207 MB / 388.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.02359, allocations: 62.36 kB / 388.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.02374, allocations: 92.67 kB / 388.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.02459, allocations: 0.7674 MB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.02461, allocations: 4 kB / 389.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.02466, allocations: 31.98 kB / 389.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-05/0.02476, allocations: 69.97 kB / 389.2 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.02536, allocations: 403.5 kB / 389.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.02863, allocations: 3.837 MB / 393.4 MB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.02896, allocations: 202 kB / 393.6 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.02912, allocations: 131.4 kB / 393.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.02914, allocations: 8 kB / 393.7 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.02917, allocations: 49.33 kB / 393.8 MB, free: 2.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.965e-06/0.02918, allocations: 0 / 393.8 MB, free: 2.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002074/0.03125, allocations: 1.349 MB / 395.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.03129, allocations: 81.61 kB / 395.2 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.03168, allocations: 0.5414 MB / 395.8 MB, free: 372 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.0317, allocations: 29.7 kB / 395.8 MB, free: 336 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.03195, allocations: 0.5297 MB / 396.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.03206, allocations: 198.3 kB / 396.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.03219, allocations: 156.2 kB / 396.7 MB, free: 15.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004169/0.03261, allocations: 0.5547 MB / 397.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.0328, allocations: 109.9 kB / 397.3 MB, free: 14.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.0331, allocations: 456.6 kB / 397.8 MB, free: 14.16 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.0007381/0.03384, allocations: 0.7647 MB / 398.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.03385, allocations: 3.938 kB / 398.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009677/0.03482, allocations: 0.7252 MB / 399.3 MB, free: 12.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.03484, allocations: 8 kB / 399.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005391/0.03538, allocations: 408.3 kB / 399.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.03573, allocations: 138.9 kB / 399.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.03609, allocations: 179.7 kB / 400 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/0.03951, allocations: 5.452 MB / 405.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.03991, allocations: 39.92 kB / 405.5 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.03995, allocations: 35.98 kB / 405.5 MB, free: 5.867 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.0003705/0.04032, allocations: 212.2 kB / 405.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.04042, allocations: 79.66 kB / 405.8 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/0.04098, allocations: 431.8 kB / 406.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.04098, allocations: 4 kB / 406.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.04099, allocations: 3.984 kB / 406.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.04099, allocations: 4 kB / 406.2 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.04239, allocations: 1.137 MB / 407.4 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.0424, allocations: 4 kB / 407.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.04271, allocations: 123.9 kB / 407.5 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.04271, allocations: 4 kB / 407.5 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.04274, allocations: 19.94 kB / 407.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.04275, allocations: 7.938 kB / 407.5 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.04275, allocations: 4 kB / 407.5 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.0434, allocations: 0.6941 MB / 408.2 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.04353, allocations: 91.52 kB / 408.3 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.04358, allocations: 23.89 kB / 408.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.04373, allocations: 23.92 kB / 408.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.04378, allocations: 32.44 kB / 408.4 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.0438, allocations: 20.03 kB / 408.4 MB, free: 2.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002363/0.04404, allocations: 334.8 kB / 408.7 MB, free: 2.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04404, allocations: 0 / 408.7 MB, free: 2.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005579/0.04459, allocations: 204 kB / 408.9 MB, free: 2.316 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.0001296/0.04472, allocations: 119.1 kB / 409 MB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009412/0.04566, allocations: 0.9432 MB / 410 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.04567, allocations: 0 / 410 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.04585, allocations: 173 kB / 410.2 MB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.04631, allocations: 130.2 kB / 410.3 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.04899, allocations: 1.676 MB / 412 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.04916, allocations: 246.8 kB / 412.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.04946, allocations: 157.3 kB / 412.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.04957, allocations: 56.48 kB / 412.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.041e-06/0.04957, allocations: 0 / 412.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01126/0.06083, allocations: 7.931 MB / 420.3 MB, free: 6.863 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.0628870390355587]