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.001435/0.001435, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001548/0.001548, allocations: 165.7 kB / 24.27 MB, free: 144 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.495/1.495, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3353/0.3353, allocations: 29.42 MB / 290.5 MB, free: 2.461 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 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.446e-05, allocations: 5.547 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01052/0.01056, allocations: 7.069 MB / 376 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.01608, allocations: 2.816 MB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004545/0.01654, allocations: 31.75 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.01885, allocations: 0.7659 MB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.0208, allocations: 0.7226 MB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.02195, allocations: 390.9 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.02396, allocations: 1.363 MB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.02514, allocations: 0.5535 MB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.02623, allocations: 0.7595 MB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/0.02721, allocations: 0.5922 MB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.02735, allocations: 76 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009826/0.02833, allocations: 0.4989 MB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005336/0.02886, allocations: 490.7 kB / 385 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004802/0.02934, allocations: 355.2 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.03133, allocations: 1.456 MB / 386.8 MB, free: 9.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.03133, allocations: 4 kB / 386.8 MB, free: 9.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03133, allocations: 0 / 386.8 MB, free: 9.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.03135, allocations: 4 kB / 386.8 MB, free: 9.32 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.00254/0.03389, allocations: 1.208 MB / 388 MB, free: 8.078 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.03394, allocations: 11.98 kB / 388 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.03544, allocations: 308 kB / 388.3 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.03699, allocations: 0.6805 MB / 389 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.03706, allocations: 62.36 kB / 389.1 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.03731, allocations: 100.6 kB / 389.2 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.03961, allocations: 1.115 MB / 390.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.03964, allocations: 3.953 kB / 390.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.03973, allocations: 32 kB / 390.3 MB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.03991, allocations: 73.95 kB / 390.4 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.0415, allocations: 0.886 MB / 391.3 MB, free: 4.742 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005791/0.04729, allocations: 3.559 MB / 394.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.04795, allocations: 317 kB / 395.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.04837, allocations: 264.3 kB / 395.4 MB, free: 440 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.04842, allocations: 8 kB / 395.4 MB, free: 432 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.04846, allocations: 38.56 kB / 395.4 MB, free: 384 kB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.435e-06/0.04846, allocations: 0 / 395.4 MB, free: 384 kB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.005095/0.05356, allocations: 1.94 MB / 397.4 MB, free: 14.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.05363, allocations: 89.55 kB / 397.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.05431, allocations: 0.5182 MB / 398 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.05437, allocations: 37.7 kB / 398 MB, free: 13.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.05479, allocations: 495.5 kB / 398.5 MB, free: 13.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.05498, allocations: 198.3 kB / 398.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.05522, allocations: 138.6 kB / 398.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002477/0.05547, allocations: 370.8 kB / 399.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.05595, allocations: 273.8 kB / 399.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007404/0.05669, allocations: 0.5042 MB / 400 MB, free: 11.65 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.003483/0.06017, allocations: 1.403 MB / 401.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.06018, allocations: 4 kB / 401.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002129/0.06231, allocations: 1.045 MB / 402.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.06233, allocations: 8 kB / 402.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001403/0.06373, allocations: 0.6874 MB / 403.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007144/0.06445, allocations: 186.4 kB / 403.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.06511, allocations: 167.8 kB / 403.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.07045, allocations: 4.481 MB / 407.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.07102, allocations: 39.97 kB / 408 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.07109, allocations: 35.98 kB / 408 MB, free: 3.148 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.0005937/0.07168, allocations: 325.5 kB / 408.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.07185, allocations: 83.52 kB / 408.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.07308, allocations: 0.6365 MB / 409.1 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.07309, allocations: 8 kB / 409.1 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.0731, allocations: 0 / 409.1 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.07311, allocations: 3.984 kB / 409.1 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.07576, allocations: 1.309 MB / 410.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.07577, allocations: 4 kB / 410.4 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006603/0.07643, allocations: 127.8 kB / 410.5 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.07644, allocations: 4 kB / 410.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.07649, allocations: 19.94 kB / 410.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.07649, allocations: 4 kB / 410.5 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.0765, allocations: 12.17 kB / 410.5 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.07834, allocations: 0.9554 MB / 411.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.07861, allocations: 99.59 kB / 411.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.848e-05/0.0787, allocations: 19.94 kB / 411.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.07904, allocations: 27.97 kB / 411.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.07913, allocations: 36.38 kB / 411.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.07917, allocations: 16 kB / 411.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005028/0.07967, allocations: 354.8 kB / 412 MB, free: 15.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07967, allocations: 0 / 412 MB, free: 15.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009605/0.08063, allocations: 239.9 kB / 412.3 MB, free: 14.78 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.0003632/0.081, allocations: 142.5 kB / 412.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.08283, allocations: 0.9942 MB / 413.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.08284, allocations: 0 / 413.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.08329, allocations: 256.1 kB / 413.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/0.08412, allocations: 153.8 kB / 413.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.08759, allocations: 1.836 MB / 415.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.08823, allocations: 494.3 kB / 416.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005303/0.08877, allocations: 189.3 kB / 416.3 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.08896, allocations: 60.48 kB / 416.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.08897, allocations: 0 / 416.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of Templates: time 0.0181/0.1071, allocations: 8.179 MB / 424.6 MB, free: 2.508 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.985387549968436]