Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0063/0.0063, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.364/1.364, 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.001481/0.001481, allocations: 184.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5235/0.5235, allocations: 91.9 MB / 431.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 87.08 kB / 0.5728 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1304, allocations: 71.29 MB / 0.6424 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01247/0.1429, allocations: 13.81 MB / 0.6559 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007812/0.1507, allocations: 3.507 MB / 0.6593 GB, free: 2.121 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.1533, allocations: 28 kB / 0.6593 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.1548, allocations: 0.5576 MB / 0.6599 GB, free: 1.531 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.1595, allocations: 1.58 MB / 0.6614 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.1629, allocations: 1.52 MB / 0.6629 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004829/0.1678, allocations: 3.78 MB / 0.6666 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.169, allocations: 0.8934 MB / 0.6675 GB, free: 9.711 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.1713, allocations: 1.552 MB / 0.669 GB, free: 8.152 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.1734, allocations: 1.987 MB / 0.6709 GB, free: 6.156 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004551/0.1739, allocations: 292 kB / 0.6712 GB, free: 5.871 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008099/0.1747, allocations: 431.9 kB / 0.6716 GB, free: 5.449 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005992/0.1753, allocations: 0.7779 MB / 0.6724 GB, free: 4.668 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.1767, allocations: 1.65 MB / 0.674 GB, free: 3.008 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003856/0.1806, allocations: 4.024 MB / 0.6779 GB, free: 14.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1806, allocations: 0 / 0.6779 GB, free: 14.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1806, allocations: 0 / 0.6779 GB, free: 14.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.752e-05/0.1807, allocations: 4 kB / 0.6779 GB, free: 14.96 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02388/0.2045, allocations: 6.633 MB / 0.6844 GB, free: 8.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2046, allocations: 8.031 kB / 0.6844 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/0.2201, allocations: 2.271 MB / 0.6866 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/0.2242, allocations: 1.91 MB / 0.6885 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007051/0.2249, allocations: 0.7252 MB / 0.6892 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/0.2255, allocations: 223.9 kB / 0.6894 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006468/0.232, allocations: 3.043 MB / 0.6924 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.232, allocations: 4 kB / 0.6924 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.2323, allocations: 91.92 kB / 0.6925 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.2324, allocations: 48 kB / 0.6925 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006172/0.2385, allocations: 2.792 MB / 0.6952 GB, free: 12.84 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.01968/0.2582, allocations: 9.86 MB / 0.7049 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.2701, allocations: 4.203 MB / 0.709 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004855/0.275, allocations: 1.981 MB / 0.7109 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.2753, allocations: 41.86 kB / 0.711 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005075/0.2804, allocations: 2.244 MB / 0.7131 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 4.488e-06/0.2804, allocations: 0 / 0.7131 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1252/0.4057, allocations: 27.43 MB / 0.7399 GB, free: 14.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.4058, allocations: 188.2 kB / 0.7401 GB, free: 14.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/0.41, allocations: 2.309 MB / 0.7424 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007906/0.4108, allocations: 69.69 kB / 0.7424 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000986/0.4118, allocations: 1.18 MB / 0.7436 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001375/0.4132, allocations: 0.8781 MB / 0.7444 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.4143, allocations: 0.5697 MB / 0.745 GB, free: 9.098 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4144, allocations: 301.1 kB / 0.7453 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00449/0.4189, allocations: 1.978 MB / 0.7472 GB, free: 6.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004777/0.4237, allocations: 2.334 MB / 0.7495 GB, free: 4.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05785/0.4815, allocations: 14.24 MB / 0.7634 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.4816, allocations: 0 / 0.7634 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.3664/0.848, allocations: 12.55 MB / 0.7757 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.275e-05/0.8481, allocations: 115.9 kB / 0.7758 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.8481, allocations: 6 kB / 0.7758 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01942/0.8676, allocations: 5.252 MB / 0.7809 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/0.8709, allocations: 0.5876 MB / 0.7815 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05625/0.9272, allocations: 23.17 MB / 0.8041 GB, free: 98.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005108/0.9324, allocations: 490.3 kB / 0.8046 GB, free: 98.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005256/0.9329, allocations: 120.4 kB / 0.8047 GB, free: 98.72 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (334): * Single equations (assignments): 329 * 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.001434/0.9344, allocations: 0.5314 MB / 0.8052 GB, free: 98.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/0.9351, allocations: 298.5 kB / 0.8055 GB, free: 97.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03765/0.9727, allocations: 11.93 MB / 0.8171 GB, free: 85.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/0.9728, allocations: 24 kB / 0.8172 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.97e-05/0.9728, allocations: 20.88 kB / 0.8172 GB, free: 85.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.802e-05/0.9729, allocations: 11.95 kB / 0.8172 GB, free: 85.86 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.04286/1.016, allocations: 15.56 MB / 0.8324 GB, free: 70.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/1.016, allocations: 64 / 0.8324 GB, free: 70.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.017, allocations: 257.8 kB / 0.8326 GB, free: 69.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01729/1.035, allocations: 5.295 MB / 0.8378 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007588/1.036, allocations: 58.11 kB / 0.8379 GB, free: 64.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05508/1.091, allocations: 24.92 MB / 0.8622 GB, free: 39.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.091, allocations: 4 kB / 0.8622 GB, free: 39.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04347/1.134, allocations: 14.31 MB / 0.8762 GB, free: 24.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00086/1.135, allocations: 417.6 kB / 0.8766 GB, free: 24.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006902/1.136, allocations: 51.98 kB / 0.8766 GB, free: 24.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/1.139, allocations: 295.6 kB / 0.8769 GB, free: 24.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00197/1.141, allocations: 0.5841 MB / 0.8775 GB, free: 23.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/1.141, allocations: 67.98 kB / 0.8775 GB, free: 23.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002028/1.143, allocations: 1.527 MB / 0.879 GB, free: 21.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.493e-06/1.143, allocations: 0 / 0.879 GB, free: 21.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00312/1.146, allocations: 1.188 MB / 0.8802 GB, free: 20.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0004308/1.147, allocations: 170.6 kB / 0.8803 GB, free: 20.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01749/1.164, allocations: 6.663 MB / 0.8869 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.164, allocations: 0 / 0.8869 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01338/1.178, allocations: 4.436 MB / 0.8912 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.18, allocations: 271.5 kB / 0.8914 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009056/1.189, allocations: 5.428 MB / 0.8967 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009703/1.19, allocations: 1.815 MB / 0.8985 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001132/1.191, allocations: 262.6 kB / 0.8988 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/1.192, allocations: 171.4 kB / 0.8989 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/1.192, allocations: 4 kB / 0.8989 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of Templates: time 0.09927/1.291, allocations: 64.15 MB / 0.9616 GB, free: 1.223 MB / 0.6231 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)