Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 102.7 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 239.6 MB, free: 4.762 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 192.5 kB / 289.9 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5645/0.5645, allocations: 92.61 MB / 432.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 83.86 kB / 0.5029 GB, free: 7.281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3448, allocations: 71.39 MB / 0.5726 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01031/0.3552, allocations: 14.65 MB / 0.5869 GB, free: 26.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007463/0.3627, allocations: 3.661 MB / 0.5905 GB, free: 24.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.3658, allocations: 35.12 kB / 0.5905 GB, free: 24.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.3678, allocations: 435.2 kB / 0.5909 GB, free: 23.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004973/0.3728, allocations: 1.229 MB / 0.5921 GB, free: 23.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.3766, allocations: 1.437 MB / 0.5935 GB, free: 22.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005545/0.3822, allocations: 3.781 MB / 0.5972 GB, free: 20.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.3841, allocations: 0.9004 MB / 0.5981 GB, free: 19.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.387, allocations: 1.572 MB / 0.5996 GB, free: 19.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.3902, allocations: 2.003 MB / 0.6016 GB, free: 18.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0015/0.3917, allocations: 294.8 kB / 0.6019 GB, free: 18.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.3938, allocations: 445.3 kB / 0.6023 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.3951, allocations: 0.7762 MB / 0.603 GB, free: 17.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002807/0.398, allocations: 1.673 MB / 0.6047 GB, free: 16.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004726/0.4027, allocations: 3.136 MB / 0.6077 GB, free: 15.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4027, allocations: 1.312 kB / 0.6077 GB, free: 15.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.4028, allocations: 0 / 0.6077 GB, free: 15.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001942/0.403, allocations: 4.594 kB / 0.6077 GB, free: 15.17 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02766/0.4306, allocations: 6.681 MB / 0.6143 GB, free: 12.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4307, allocations: 9.781 kB / 0.6143 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/0.4467, allocations: 2.278 MB / 0.6165 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005927/0.4527, allocations: 1.902 MB / 0.6184 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009059/0.4536, allocations: 0.7326 MB / 0.6191 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/0.4551, allocations: 218.9 kB / 0.6193 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.4666, allocations: 3.056 MB / 0.6223 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.4668, allocations: 1.938 kB / 0.6223 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009704/0.4677, allocations: 89.19 kB / 0.6224 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.186e-05/0.4678, allocations: 48.97 kB / 0.6224 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00839/0.4762, allocations: 2.806 MB / 0.6251 GB, free: 7.707 MB / 430.1 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.02557/0.5018, allocations: 9.962 MB / 0.6349 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/0.5149, allocations: 4.231 MB / 0.639 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005288/0.5202, allocations: 1.983 MB / 0.6409 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/0.5209, allocations: 41.91 kB / 0.641 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006623/0.5275, allocations: 2.25 MB / 0.6432 GB, free: 4.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 7.745e-06/0.5276, allocations: 0 / 0.6432 GB, free: 4.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1269/0.6545, allocations: 28.82 MB / 0.6713 GB, free: 7.809 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.6547, allocations: 188.2 kB / 0.6715 GB, free: 7.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.6592, allocations: 2.329 MB / 0.6738 GB, free: 5.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009454/0.6602, allocations: 69.7 kB / 0.6738 GB, free: 5.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.6614, allocations: 1.184 MB / 0.675 GB, free: 3.969 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001874/0.6633, allocations: 0.8819 MB / 0.6759 GB, free: 3.074 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/0.6649, allocations: 0.5699 MB / 0.6764 GB, free: 2.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.665, allocations: 305.1 kB / 0.6767 GB, free: 2.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004977/0.67, allocations: 1.982 MB / 0.6786 GB, free: 216 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005819/0.6759, allocations: 2.362 MB / 0.6809 GB, free: 13.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0605/0.7364, allocations: 14.42 MB / 0.695 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/0.7365, allocations: 7.938 kB / 0.695 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04589/0.7824, allocations: 12.61 MB / 0.7074 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.7826, allocations: 114.8 kB / 0.7075 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.7826, allocations: 8 kB / 0.7075 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02005/0.8027, allocations: 5.445 MB / 0.7128 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.8061, allocations: 0.5695 MB / 0.7133 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06791/0.8741, allocations: 23.67 MB / 0.7365 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005579/0.8797, allocations: 0.4931 MB / 0.7369 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009637/0.8807, allocations: 116 kB / 0.7371 GB, free: 3.809 MB / 0.5294 GB 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: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * 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.001998/0.8827, allocations: 0.5337 MB / 0.7376 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.8838, allocations: 300.2 kB / 0.7379 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04302/0.9269, allocations: 11.95 MB / 0.7495 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.9269, allocations: 27.94 kB / 0.7496 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-05/0.927, allocations: 23.98 kB / 0.7496 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.548e-05/0.9271, allocations: 19.89 kB / 0.7496 GB, free: 6.848 MB / 0.545 GB 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.05123/0.9783, allocations: 15.59 MB / 0.7648 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/0.9784, allocations: 0 / 0.7648 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/0.9803, allocations: 251.6 kB / 0.7651 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01916/0.9995, allocations: 5.291 MB / 0.7702 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000897/1, allocations: 55.98 kB / 0.7703 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3245/1.325, allocations: 24.94 MB / 0.7946 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.325, allocations: 5 kB / 0.7946 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04838/1.373, allocations: 14.34 MB / 0.8086 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.375, allocations: 413.2 kB / 0.809 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/1.376, allocations: 47.53 kB / 0.8091 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003722/1.38, allocations: 304 kB / 0.8094 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002433/1.382, allocations: 0.5812 MB / 0.8099 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004356/1.383, allocations: 65.44 kB / 0.81 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002666/1.385, allocations: 1.546 MB / 0.8115 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-07/1.385, allocations: 0 / 0.8115 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004761/1.39, allocations: 1.19 MB / 0.8127 GB, free: 151.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (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.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006657/1.391, allocations: 173.9 kB / 0.8128 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0207/1.411, allocations: 6.896 MB / 0.8196 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.411, allocations: 0 / 0.8196 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01368/1.425, allocations: 4.417 MB / 0.8239 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004468/1.43, allocations: 279.7 kB / 0.8242 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.443, allocations: 6.692 MB / 0.8307 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/1.444, allocations: 1.823 MB / 0.8325 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.446, allocations: 186.1 kB / 0.8326 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/1.446, allocations: 4 kB / 0.8327 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.07091/1.517, allocations: 64.61 MB / 0.8957 GB, free: 72.61 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)