Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 103 kB / 16.4 MB, free: 6.465 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.441/1.441, allocations: 222.9 MB / 240.1 MB, free: 4.348 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.001763/0.001763, allocations: 180.5 kB / 290.4 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5211/0.5211, allocations: 78.53 MB / 419.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001896, allocations: 83.88 kB / 0.5543 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3964, allocations: 68.17 MB / 0.6209 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01139/0.4078, allocations: 13.58 MB / 0.6342 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009576/0.4174, allocations: 3.464 MB / 0.6376 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.4209, allocations: 28 kB / 0.6376 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.4227, allocations: 0.5615 MB / 0.6381 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.4288, allocations: 1.434 MB / 0.6395 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003879/0.4327, allocations: 1.5 MB / 0.641 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006431/0.4391, allocations: 3.721 MB / 0.6446 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.4409, allocations: 0.8973 MB / 0.6455 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.444, allocations: 1.532 MB / 0.647 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.4479, allocations: 1.952 MB / 0.6489 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0019/0.4499, allocations: 288 kB / 0.6492 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.4523, allocations: 427.9 kB / 0.6496 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001813/0.4542, allocations: 0.7662 MB / 0.6503 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00457/0.4587, allocations: 1.631 MB / 0.6519 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008717/0.4675, allocations: 3.975 MB / 0.6558 GB, free: 6.273 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.4675, allocations: 0 / 0.6558 GB, free: 6.273 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4675, allocations: 0 / 0.6558 GB, free: 6.273 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002712/0.4678, allocations: 0 / 0.6558 GB, free: 6.273 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02693/0.4948, allocations: 6.579 MB / 0.6622 GB, free: 15.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4948, allocations: 11.97 kB / 0.6622 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/0.5106, allocations: 2.279 MB / 0.6645 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005553/0.5162, allocations: 1.867 MB / 0.6663 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009526/0.5172, allocations: 0.7328 MB / 0.667 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.5184, allocations: 216 kB / 0.6672 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009852/0.5282, allocations: 3.023 MB / 0.6702 GB, free: 7.207 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.735e-05/0.5283, allocations: 4 kB / 0.6702 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006886/0.529, allocations: 91.94 kB / 0.6703 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.5291, allocations: 48 kB / 0.6703 GB, free: 7.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007292/0.5364, allocations: 2.784 MB / 0.673 GB, free: 4.266 MB / 478.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.02312/0.5596, allocations: 9.798 MB / 0.6826 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/0.5716, allocations: 4.173 MB / 0.6867 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004826/0.5765, allocations: 1.972 MB / 0.6886 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/0.577, allocations: 37.97 kB / 0.6886 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005781/0.5828, allocations: 2.224 MB / 0.6908 GB, free: 1.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 7.804e-06/0.5828, allocations: 4 kB / 0.6908 GB, free: 1.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=247): time 0.1322/0.7151, allocations: 29.47 MB / 0.7196 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.7152, allocations: 184.2 kB / 0.7198 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/0.72, allocations: 2.277 MB / 0.722 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008483/0.7209, allocations: 73.7 kB / 0.7221 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.7221, allocations: 1.176 MB / 0.7232 GB, free: 108 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/0.7237, allocations: 0.8666 MB / 0.724 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002615/0.7263, allocations: 0.5578 MB / 0.7246 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.7264, allocations: 301.1 kB / 0.7249 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004896/0.7313, allocations: 1.947 MB / 0.7268 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005226/0.7366, allocations: 2.314 MB / 0.729 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05713/0.7937, allocations: 14 MB / 0.7427 GB, free: 11.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/0.7938, allocations: 4 kB / 0.7427 GB, free: 11.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04519/0.839, allocations: 12.28 MB / 0.7547 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.8392, allocations: 118.8 kB / 0.7548 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.8392, allocations: 11.94 kB / 0.7548 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01941/0.8586, allocations: 5.317 MB / 0.76 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/0.8618, allocations: 0.5578 MB / 0.7606 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4268/1.289, allocations: 23.48 MB / 0.7835 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/1.294, allocations: 497.1 kB / 0.784 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007302/1.294, allocations: 117.1 kB / 0.7841 GB, free: 121 MB / 0.5606 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 order3_1.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 (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001568/1.296, allocations: 0.5206 MB / 0.7846 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008987/1.297, allocations: 298.8 kB / 0.7849 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03881/1.336, allocations: 11.9 MB / 0.7965 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/1.336, allocations: 23.53 kB / 0.7965 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.3e-05/1.336, allocations: 27.5 kB / 0.7966 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.771e-05/1.336, allocations: 15.38 kB / 0.7966 GB, free: 118.1 MB / 0.5606 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.04327/1.379, allocations: 15.48 MB / 0.8117 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.379, allocations: 4 kB / 0.8117 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.381, allocations: 247.6 kB / 0.8119 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01668/1.398, allocations: 5.279 MB / 0.8171 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006751/1.398, allocations: 51.98 kB / 0.8171 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05479/1.453, allocations: 24.93 MB / 0.8415 GB, free: 77.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.453, allocations: 1.641 kB / 0.8415 GB, free: 77.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04188/1.495, allocations: 14.27 MB / 0.8554 GB, free: 62.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008993/1.496, allocations: 412.2 kB / 0.8558 GB, free: 62.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007612/1.497, allocations: 52 kB / 0.8559 GB, free: 62.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/1.5, allocations: 299.6 kB / 0.8561 GB, free: 62.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001926/1.502, allocations: 0.5763 MB / 0.8567 GB, free: 61.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.502, allocations: 63.98 kB / 0.8568 GB, free: 61.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00197/1.504, allocations: 1.507 MB / 0.8582 GB, free: 59.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.504, allocations: 4 kB / 0.8582 GB, free: 59.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003533/1.507, allocations: 1.17 MB / 0.8594 GB, free: 58.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0004433/1.508, allocations: 170.9 kB / 0.8595 GB, free: 58.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01712/1.525, allocations: 6.702 MB / 0.8661 GB, free: 51.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.525, allocations: 0 / 0.8661 GB, free: 51.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01289/1.538, allocations: 4.405 MB / 0.8704 GB, free: 47.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.54, allocations: 261.1 kB / 0.8706 GB, free: 47.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008913/1.549, allocations: 5.312 MB / 0.8758 GB, free: 41.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.55, allocations: 1.806 MB / 0.8776 GB, free: 39.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.551, allocations: 187.4 kB / 0.8778 GB, free: 39.67 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/1.551, allocations: 0 / 0.8778 GB, free: 39.67 MB / 0.5606 GB Notification: Performance of Templates: time 0.07633/1.628, allocations: 64.07 MB / 0.9403 GB, free: 7.559 MB / 0.5919 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)