Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00477/0.00477, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.346/1.346, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.00157/0.00157, allocations: 192.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.508/0.508, allocations: 91.89 MB / 431.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 78.31 kB / 0.5728 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1384, allocations: 71.28 MB / 0.6424 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01266/0.1511, allocations: 13.72 MB / 0.6558 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008671/0.1598, allocations: 3.48 MB / 0.6592 GB, free: 2.258 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.163, allocations: 28 kB / 0.6592 GB, free: 2.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.1654, allocations: 0.5654 MB / 0.6598 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.1715, allocations: 1.552 MB / 0.6613 GB, free: 108 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.1758, allocations: 1.524 MB / 0.6628 GB, free: 14.6 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00595/0.1817, allocations: 3.729 MB / 0.6664 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.1833, allocations: 0.8973 MB / 0.6673 GB, free: 9.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.1859, allocations: 1.529 MB / 0.6688 GB, free: 8.375 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.1887, allocations: 1.952 MB / 0.6707 GB, free: 6.414 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009658/0.1897, allocations: 284 kB / 0.6709 GB, free: 6.137 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.1909, allocations: 427.9 kB / 0.6714 GB, free: 5.719 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006859/0.1916, allocations: 0.7545 MB / 0.6721 GB, free: 4.961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.1937, allocations: 1.635 MB / 0.6737 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00523/0.1989, allocations: 3.97 MB / 0.6776 GB, free: 15.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.199, allocations: 4 kB / 0.6776 GB, free: 15.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.199, allocations: 0 / 0.6776 GB, free: 15.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.1991, allocations: 0 / 0.6776 GB, free: 15.33 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02402/0.2231, allocations: 6.571 MB / 0.684 GB, free: 8.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2232, allocations: 8.031 kB / 0.684 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/0.2383, allocations: 2.279 MB / 0.6862 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/0.2428, allocations: 1.871 MB / 0.688 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008129/0.2437, allocations: 0.7329 MB / 0.6888 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008456/0.2445, allocations: 216 kB / 0.689 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008004/0.2525, allocations: 3.032 MB / 0.6919 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.58e-05/0.2526, allocations: 0 / 0.6919 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003041/0.2529, allocations: 87.94 kB / 0.692 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.253, allocations: 48 kB / 0.6921 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006686/0.2597, allocations: 2.788 MB / 0.6948 GB, free: 13.32 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.02166/0.2814, allocations: 9.844 MB / 0.7044 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.2933, allocations: 4.184 MB / 0.7085 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004794/0.2981, allocations: 1.964 MB / 0.7104 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/0.2986, allocations: 45.95 kB / 0.7104 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005908/0.3046, allocations: 2.23 MB / 0.7126 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=248): time 9.688e-06/0.3046, allocations: 0 / 0.7126 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.1272/0.4319, allocations: 28.18 MB / 0.7401 GB, free: 14.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.4321, allocations: 184.2 kB / 0.7403 GB, free: 13.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004914/0.437, allocations: 2.269 MB / 0.7425 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009587/0.438, allocations: 73.7 kB / 0.7426 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.4393, allocations: 1.164 MB / 0.7437 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00184/0.4411, allocations: 0.8703 MB / 0.7446 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002972/0.4441, allocations: 0.5618 MB / 0.7451 GB, free: 8.957 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4443, allocations: 313 kB / 0.7454 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00571/0.45, allocations: 1.955 MB / 0.7473 GB, free: 6.691 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006145/0.4562, allocations: 2.318 MB / 0.7496 GB, free: 4.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05885/0.5151, allocations: 14.01 MB / 0.7633 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-05/0.5152, allocations: 4 kB / 0.7633 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.4228/0.938, allocations: 12.5 MB / 0.7755 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/0.9382, allocations: 117.4 kB / 0.7756 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.9382, allocations: 6.344 kB / 0.7756 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/0.957, allocations: 5.293 MB / 0.7808 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/0.9601, allocations: 0.5658 MB / 0.7813 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05509/1.015, allocations: 23.17 MB / 0.804 GB, free: 100 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/1.02, allocations: 487 kB / 0.8044 GB, free: 99.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004517/1.02, allocations: 120.4 kB / 0.8045 GB, free: 99.79 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_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 (330): * Single equations (assignments): 325 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001267/1.021, allocations: 0.5296 MB / 0.8051 GB, free: 99.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000576/1.022, allocations: 297.1 kB / 0.8053 GB, free: 98.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03743/1.06, allocations: 11.91 MB / 0.817 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/1.06, allocations: 24 kB / 0.817 GB, free: 87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.157e-05/1.06, allocations: 20 kB / 0.817 GB, free: 86.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.268e-05/1.06, allocations: 11.95 kB / 0.817 GB, free: 86.97 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.04114/1.101, allocations: 15.5 MB / 0.8322 GB, free: 71.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/1.101, allocations: 0 / 0.8322 GB, free: 71.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.102, allocations: 247.7 kB / 0.8324 GB, free: 71.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01643/1.119, allocations: 5.25 MB / 0.8375 GB, free: 65.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006261/1.12, allocations: 55.98 kB / 0.8376 GB, free: 65.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05364/1.173, allocations: 24.93 MB / 0.8619 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.173, allocations: 4 kB / 0.8619 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04167/1.215, allocations: 14.27 MB / 0.8759 GB, free: 26.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/1.216, allocations: 409.1 kB / 0.8763 GB, free: 25.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005845/1.216, allocations: 51.25 kB / 0.8763 GB, free: 25.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/1.219, allocations: 299.6 kB / 0.8766 GB, free: 25.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001914/1.221, allocations: 0.5802 MB / 0.8772 GB, free: 24.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/1.221, allocations: 67.98 kB / 0.8772 GB, free: 24.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001927/1.223, allocations: 1.503 MB / 0.8787 GB, free: 23.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/1.223, allocations: 0 / 0.8787 GB, free: 23.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003223/1.227, allocations: 1.178 MB / 0.8798 GB, free: 22.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0004498/1.227, allocations: 171 kB / 0.88 GB, free: 21.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01681/1.244, allocations: 6.624 MB / 0.8865 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.244, allocations: 4 kB / 0.8865 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/1.257, allocations: 4.396 MB / 0.8908 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/1.259, allocations: 263.7 kB / 0.891 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008849/1.268, allocations: 5.33 MB / 0.8962 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.269, allocations: 1.802 MB / 0.898 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00106/1.27, allocations: 258.5 kB / 0.8982 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/1.271, allocations: 175.4 kB / 0.8984 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/1.271, allocations: 0 / 0.8984 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of Templates: time 0.0952/1.366, allocations: 63.62 MB / 0.9605 GB, free: 3.281 MB / 0.6231 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)