Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001141/0.001141, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 239.5 MB, free: 4.754 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.001405/0.001405, allocations: 184.5 kB / 289.8 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5275/0.5275, allocations: 91.88 MB / 431.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 79.88 kB / 0.5018 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3938, allocations: 71.27 MB / 0.5714 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01069/0.4046, allocations: 14.41 MB / 0.5855 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008175/0.4128, allocations: 3.625 MB / 0.5891 GB, free: 24.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003701/0.4166, allocations: 35.09 kB / 0.5891 GB, free: 24.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.4187, allocations: 431.1 kB / 0.5895 GB, free: 24.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00529/0.424, allocations: 1.237 MB / 0.5907 GB, free: 23.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.4279, allocations: 1.412 MB / 0.5921 GB, free: 22.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006727/0.4347, allocations: 3.512 MB / 0.5955 GB, free: 20.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.4368, allocations: 0.7975 MB / 0.5963 GB, free: 20.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.4402, allocations: 1.398 MB / 0.5977 GB, free: 19.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003621/0.4439, allocations: 1.86 MB / 0.5995 GB, free: 18.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.4456, allocations: 174.4 kB / 0.5996 GB, free: 18.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.448, allocations: 314.5 kB / 0.5999 GB, free: 18.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001558/0.4496, allocations: 0.6527 MB / 0.6006 GB, free: 18.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003677/0.4533, allocations: 1.529 MB / 0.6021 GB, free: 17.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004612/0.4579, allocations: 3.014 MB / 0.605 GB, free: 16.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4579, allocations: 0 / 0.605 GB, free: 16.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4579, allocations: 0 / 0.605 GB, free: 16.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002041/0.4582, allocations: 1.219 kB / 0.605 GB, free: 16.23 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02764/0.4858, allocations: 6.59 MB / 0.6115 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.4859, allocations: 8.719 kB / 0.6115 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0165/0.5024, allocations: 2.274 MB / 0.6137 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006199/0.5086, allocations: 1.868 MB / 0.6155 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008858/0.5096, allocations: 0.7271 MB / 0.6162 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.511, allocations: 215.1 kB / 0.6164 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.5215, allocations: 3.027 MB / 0.6194 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-05/0.5216, allocations: 0 / 0.6194 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007908/0.5224, allocations: 85.92 kB / 0.6195 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-05/0.5225, allocations: 49.28 kB / 0.6195 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008065/0.5306, allocations: 2.788 MB / 0.6222 GB, free: 9.113 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.02244/0.5531, allocations: 9.868 MB / 0.6319 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/0.5651, allocations: 4.188 MB / 0.636 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/0.57, allocations: 1.964 MB / 0.6379 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.5706, allocations: 45.88 kB / 0.6379 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005959/0.5766, allocations: 2.232 MB / 0.6401 GB, free: 7.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 6.783e-06/0.5766, allocations: 0 / 0.6401 GB, free: 7.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.15/0.7267, allocations: 29.46 MB / 0.6689 GB, free: 10.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.7268, allocations: 184.2 kB / 0.669 GB, free: 9.859 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/0.7307, allocations: 2.285 MB / 0.6713 GB, free: 7.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000884/0.7316, allocations: 69.7 kB / 0.6713 GB, free: 7.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009698/0.7325, allocations: 1.179 MB / 0.6725 GB, free: 6.289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001406/0.734, allocations: 0.8665 MB / 0.6733 GB, free: 5.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.7352, allocations: 0.5539 MB / 0.6739 GB, free: 4.848 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.7353, allocations: 301.1 kB / 0.6742 GB, free: 4.551 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004258/0.7395, allocations: 1.954 MB / 0.6761 GB, free: 2.594 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004719/0.7443, allocations: 2.314 MB / 0.6783 GB, free: 192 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05694/0.8012, allocations: 14 MB / 0.692 GB, free: 1.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.8013, allocations: 3.938 kB / 0.692 GB, free: 1.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04239/0.8437, allocations: 12.28 MB / 0.704 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.8438, allocations: 114.8 kB / 0.7041 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/0.8439, allocations: 11.94 kB / 0.7041 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01872/0.8626, allocations: 5.317 MB / 0.7093 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/0.8658, allocations: 0.5617 MB / 0.7099 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05679/0.9226, allocations: 21.59 MB / 0.731 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005135/0.9278, allocations: 489 kB / 0.7314 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008487/0.9287, allocations: 120 kB / 0.7315 GB, free: 9.215 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 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.001587/0.9303, allocations: 0.5367 MB / 0.7321 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009551/0.9313, allocations: 296.3 kB / 0.7323 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0404/0.9717, allocations: 11.9 MB / 0.744 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/0.9718, allocations: 24 kB / 0.744 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-05/0.9718, allocations: 20 kB / 0.744 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.903e-05/0.972, allocations: 15.89 kB / 0.744 GB, free: 12.36 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.04785/1.02, allocations: 15.49 MB / 0.7591 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/1.02, allocations: 4 kB / 0.7591 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/1.022, allocations: 239.7 kB / 0.7594 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01809/1.04, allocations: 5.291 MB / 0.7645 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008112/1.041, allocations: 55.98 kB / 0.7646 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3472/1.388, allocations: 22.68 MB / 0.7867 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.388, allocations: 0 / 0.7867 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04913/1.437, allocations: 14.26 MB / 0.8007 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.439, allocations: 404.2 kB / 0.8011 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.44, allocations: 44.62 kB / 0.8011 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003894/1.444, allocations: 297.3 kB / 0.8014 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003072/1.447, allocations: 0.5664 MB / 0.8019 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/1.447, allocations: 64.88 kB / 0.802 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00284/1.45, allocations: 1.507 MB / 0.8035 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/1.45, allocations: 1.094 kB / 0.8035 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005065/1.455, allocations: 1.182 MB / 0.8046 GB, free: 156.1 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.0005349/1.456, allocations: 173.4 kB / 0.8048 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01817/1.474, allocations: 6.598 MB / 0.8112 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.474, allocations: 0 / 0.8112 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01283/1.487, allocations: 4.391 MB / 0.8155 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/1.49, allocations: 260.6 kB / 0.8158 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.5, allocations: 6.471 MB / 0.8221 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.501, allocations: 1.806 MB / 0.8239 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/1.503, allocations: 174.9 kB / 0.824 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/1.503, allocations: 4 kB / 0.824 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.0715/1.574, allocations: 63.79 MB / 0.8863 GB, free: 82.95 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)