Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 175.4 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 239.7 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007581/0.0007581, allocations: 90.8 kB / 290.5 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4276/0.4276, allocations: 78.42 MB / 419.6 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 16 kB / 499.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2511, allocations: 68.74 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII): time 0.008406/0.2595, allocations: 13.84 MB / 0.568 GB, free: 6.328 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004833/0.2644, allocations: 3.457 MB / 0.5714 GB, free: 2.859 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009063/0.2653, allocations: 28 kB / 0.5714 GB, free: 2.832 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.2659, allocations: 405.4 kB / 0.5718 GB, free: 2.434 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.2682, allocations: 1.164 MB / 0.5729 GB, free: 1.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.2705, allocations: 1.374 MB / 0.5743 GB, free: 15.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.2733, allocations: 3.207 MB / 0.5774 GB, free: 12.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.2741, allocations: 0.6553 MB / 0.5781 GB, free: 12 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.2754, allocations: 1.244 MB / 0.5793 GB, free: 10.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.277, allocations: 1.683 MB / 0.5809 GB, free: 9.059 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003131/0.2773, allocations: 140 kB / 0.5811 GB, free: 8.922 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006446/0.278, allocations: 271.9 kB / 0.5813 GB, free: 8.656 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.2784, allocations: 0.5634 MB / 0.5819 GB, free: 8.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.2795, allocations: 1.382 MB / 0.5832 GB, free: 6.699 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.2817, allocations: 2.721 MB / 0.5859 GB, free: 3.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2817, allocations: 3.938 kB / 0.5859 GB, free: 3.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2817, allocations: 4 kB / 0.5859 GB, free: 3.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.078e-05/0.2818, allocations: 0 / 0.5859 GB, free: 3.965 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01899/0.3008, allocations: 5.602 MB / 0.5913 GB, free: 14.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3008, allocations: 12.03 kB / 0.5914 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/0.3152, allocations: 2.244 MB / 0.5935 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.3183, allocations: 1.681 MB / 0.5952 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.3194, allocations: 0.6628 MB / 0.5958 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005805/0.32, allocations: 203.9 kB / 0.596 GB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005647/0.3256, allocations: 2.914 MB / 0.5989 GB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.3257, allocations: 0 / 0.5989 GB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.3259, allocations: 79.94 kB / 0.599 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.326, allocations: 47.98 kB / 0.599 GB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005451/0.3314, allocations: 2.685 MB / 0.6016 GB, free: 3.578 MB / 410.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.0168/0.3482, allocations: 9.669 MB / 0.6111 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.3584, allocations: 4.057 MB / 0.615 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/0.3621, allocations: 1.902 MB / 0.6169 GB, free: 3.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.3624, allocations: 37.95 kB / 0.6169 GB, free: 3.371 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.3624, allocations: 56.56 kB / 0.617 GB, free: 3.305 MB / 426.7 MB Notification: Performance of pre-optimization done (n=230): time 3.868e-06/0.3624, allocations: 3.938 kB / 0.617 GB, free: 3.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=230): time 0.106/0.4684, allocations: 26.21 MB / 0.6426 GB, free: 9.023 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/0.4685, allocations: 132.8 kB / 0.6427 GB, free: 8.871 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.4713, allocations: 2.033 MB / 0.6447 GB, free: 6.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000374/0.4717, allocations: 69.7 kB / 0.6447 GB, free: 6.746 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/0.4725, allocations: 1.096 MB / 0.6458 GB, free: 5.637 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008156/0.4733, allocations: 0.8125 MB / 0.6466 GB, free: 4.812 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/0.4737, allocations: 263.9 kB / 0.6469 GB, free: 4.547 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.4739, allocations: 305.1 kB / 0.6472 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/0.4779, allocations: 1.899 MB / 0.649 GB, free: 2.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004304/0.4822, allocations: 2.262 MB / 0.6512 GB, free: 15.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05518/0.5374, allocations: 14.06 MB / 0.665 GB, free: 1.773 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.5374, allocations: 0 / 0.665 GB, free: 1.773 MB / 474.7 MB Notification: Performance of matching and sorting (n=385) (initialization): time 0.03835/0.5758, allocations: 12.13 MB / 0.6768 GB, free: 5.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.576, allocations: 304 kB / 0.6771 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.5761, allocations: 4 kB / 0.6771 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.231/0.807, allocations: 5.403 MB / 0.6824 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.8097, allocations: 0.4883 MB / 0.6828 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05201/0.8617, allocations: 21.75 MB / 0.7041 GB, free: 98.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/0.8652, allocations: 445.3 kB / 0.7045 GB, free: 98.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.8655, allocations: 106.4 kB / 0.7046 GB, free: 98.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.8655, allocations: 13.06 kB / 0.7046 GB, free: 98.26 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03382/0.8994, allocations: 11.82 MB / 0.7162 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.8994, allocations: 8 kB / 0.7162 GB, free: 94.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01588/0.9153, allocations: 5.421 MB / 0.7215 GB, free: 90.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.9176, allocations: 483.7 kB / 0.7219 GB, free: 89.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04665/0.9642, allocations: 21.73 MB / 0.7432 GB, free: 68.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/0.9675, allocations: 405.3 kB / 0.7435 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.9678, allocations: 115.9 kB / 0.7437 GB, free: 67.68 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (296): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0009859/0.9687, allocations: 0.5091 MB / 0.7442 GB, free: 67.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004067/0.9692, allocations: 276.5 kB / 0.7444 GB, free: 66.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03391/1.003, allocations: 11.48 MB / 0.7556 GB, free: 55.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/1.003, allocations: 20 kB / 0.7556 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/1.003, allocations: 23.94 kB / 0.7557 GB, free: 55.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.435e-05/1.003, allocations: 11.95 kB / 0.7557 GB, free: 55.32 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.03754/1.041, allocations: 15.06 MB / 0.7704 GB, free: 40.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.041, allocations: 0 / 0.7704 GB, free: 40.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.042, allocations: 252.6 kB / 0.7706 GB, free: 39.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01475/1.057, allocations: 5.044 MB / 0.7756 GB, free: 34.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004174/1.057, allocations: 47.94 kB / 0.7756 GB, free: 34.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04132/1.099, allocations: 18.64 MB / 0.7938 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.099, allocations: 0 / 0.7938 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03967/1.139, allocations: 13.78 MB / 0.8073 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/1.139, allocations: 384 kB / 0.8076 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/1.14, allocations: 40 kB / 0.8077 GB, free: 1.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.142, allocations: 259.7 kB / 0.8079 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00171/1.144, allocations: 0.5332 MB / 0.8084 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.144, allocations: 59.98 kB / 0.8085 GB, free: 0.918 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001447/1.145, allocations: 1.33 MB / 0.8098 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.145, allocations: 4 kB / 0.8098 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004173/1.15, allocations: 1.856 MB / 0.8116 GB, free: 13.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003634/1.15, allocations: 162.9 kB / 0.8118 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02865/1.179, allocations: 10.73 MB / 0.8222 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/1.179, allocations: 4 kB / 0.8222 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01145/1.19, allocations: 3.882 MB / 0.826 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/1.192, allocations: 224.6 kB / 0.8263 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009093/1.201, allocations: 6.332 MB / 0.8324 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.202, allocations: 1.745 MB / 0.8341 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/1.203, allocations: 159.4 kB / 0.8343 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/1.203, allocations: 0 / 0.8343 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of Templates: time 0.06017/1.263, allocations: 51.97 MB / 0.885 GB, free: 2.371 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)