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.006395/0.006395, allocations: 100.7 kB / 15.73 MB, free: 6.047 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.383/1.383, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001441/0.001441, allocations: 200.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5284/0.5284, allocations: 91.9 MB / 431.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 78.94 kB / 0.5728 GB, free: 33.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1251, allocations: 71.28 MB / 0.6424 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01283/0.1379, allocations: 13.87 MB / 0.6559 GB, free: 5.734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008022/0.146, allocations: 3.519 MB / 0.6594 GB, free: 2.199 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.1485, allocations: 28 kB / 0.6594 GB, free: 2.172 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.1501, allocations: 0.5614 MB / 0.6599 GB, free: 1.605 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.1546, allocations: 1.585 MB / 0.6615 GB, free: 16 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.158, allocations: 1.532 MB / 0.663 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004728/0.1628, allocations: 3.816 MB / 0.6667 GB, free: 10.67 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.164, allocations: 0.8974 MB / 0.6676 GB, free: 9.727 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.1662, allocations: 1.564 MB / 0.6691 GB, free: 8.156 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.1684, allocations: 2.003 MB / 0.6711 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004906/0.1689, allocations: 296 kB / 0.6714 GB, free: 5.855 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008244/0.1698, allocations: 439.9 kB / 0.6718 GB, free: 5.426 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006226/0.1704, allocations: 0.7818 MB / 0.6725 GB, free: 4.641 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.172, allocations: 1.658 MB / 0.6742 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003969/0.1759, allocations: 4.044 MB / 0.6781 GB, free: 14.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.176, allocations: 0 / 0.6781 GB, free: 14.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.176, allocations: 4 kB / 0.6781 GB, free: 14.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.845e-05/0.176, allocations: 0 / 0.6781 GB, free: 14.91 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02441/0.2004, allocations: 6.672 MB / 0.6846 GB, free: 8.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2005, allocations: 12.03 kB / 0.6846 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/0.2157, allocations: 2.279 MB / 0.6869 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/0.2206, allocations: 1.918 MB / 0.6887 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/0.2218, allocations: 0.7214 MB / 0.6894 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.223, allocations: 219.9 kB / 0.6896 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008591/0.2316, allocations: 3.059 MB / 0.6926 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/0.2317, allocations: 0 / 0.6926 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/0.232, allocations: 87.88 kB / 0.6927 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.232, allocations: 52 kB / 0.6928 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006275/0.2383, allocations: 2.796 MB / 0.6955 GB, free: 12.72 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.01972/0.258, allocations: 9.896 MB / 0.7052 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.2695, allocations: 4.231 MB / 0.7093 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004473/0.274, allocations: 1.979 MB / 0.7112 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000376/0.2744, allocations: 45.95 kB / 0.7113 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005255/0.2797, allocations: 2.248 MB / 0.7135 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=250): time 5.511e-06/0.2797, allocations: 4 kB / 0.7135 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1327/0.4124, allocations: 28.81 MB / 0.7416 GB, free: 12.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.4126, allocations: 188.3 kB / 0.7418 GB, free: 12.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004263/0.4168, allocations: 2.325 MB / 0.7441 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007202/0.4176, allocations: 69.7 kB / 0.7441 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.4186, allocations: 1.176 MB / 0.7453 GB, free: 8.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.42, allocations: 0.8897 MB / 0.7461 GB, free: 8.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/0.4221, allocations: 0.5699 MB / 0.7467 GB, free: 7.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4222, allocations: 301.1 kB / 0.747 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004836/0.427, allocations: 1.986 MB / 0.7489 GB, free: 5.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005155/0.4322, allocations: 2.354 MB / 0.7512 GB, free: 2.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05998/0.4922, allocations: 14.37 MB / 0.7653 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/0.4923, allocations: 11.88 kB / 0.7653 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.3263/0.8186, allocations: 12.6 MB / 0.7776 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/0.8187, allocations: 118.3 kB / 0.7777 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.8188, allocations: 9.625 kB / 0.7777 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01966/0.8384, allocations: 5.436 MB / 0.783 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/0.8414, allocations: 0.5814 MB / 0.7836 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05818/0.8996, allocations: 23.63 MB / 0.8067 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/0.9044, allocations: 0.4899 MB / 0.8071 GB, free: 96.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005376/0.9049, allocations: 123.2 kB / 0.8073 GB, free: 96.38 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 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.001336/0.9063, allocations: 0.5349 MB / 0.8078 GB, free: 95.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006076/0.9069, allocations: 301.4 kB / 0.8081 GB, free: 95.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03839/0.9453, allocations: 11.94 MB / 0.8197 GB, free: 83.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.9454, allocations: 28 kB / 0.8198 GB, free: 83.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/0.9454, allocations: 16 kB / 0.8198 GB, free: 83.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.686e-05/0.9455, allocations: 19.89 kB / 0.8198 GB, free: 83.49 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.04285/0.9883, allocations: 15.58 MB / 0.835 GB, free: 67.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.9884, allocations: 4 kB / 0.835 GB, free: 67.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.99, allocations: 247.7 kB / 0.8352 GB, free: 67.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01691/1.007, allocations: 5.285 MB / 0.8404 GB, free: 62.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006009/1.008, allocations: 47.98 kB / 0.8404 GB, free: 62.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05373/1.061, allocations: 24.93 MB / 0.8648 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.061, allocations: 0 / 0.8648 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04269/1.104, allocations: 14.35 MB / 0.8788 GB, free: 22.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.105, allocations: 413.8 kB / 0.8792 GB, free: 22.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006656/1.106, allocations: 48 kB / 0.8792 GB, free: 21.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00303/1.109, allocations: 299.6 kB / 0.8795 GB, free: 21.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002115/1.111, allocations: 0.5801 MB / 0.8801 GB, free: 21.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/1.111, allocations: 67.98 kB / 0.8802 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002202/1.114, allocations: 1.547 MB / 0.8817 GB, free: 19.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.605e-06/1.114, allocations: 0 / 0.8817 GB, free: 19.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003881/1.118, allocations: 1.195 MB / 0.8828 GB, free: 18.28 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.0004527/1.118, allocations: 166.9 kB / 0.883 GB, free: 18.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01735/1.135, allocations: 6.8 MB / 0.8896 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.135, allocations: 0 / 0.8896 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01274/1.148, allocations: 4.424 MB / 0.894 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.15, allocations: 276.8 kB / 0.8942 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008777/1.159, allocations: 5.498 MB / 0.8996 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.161, allocations: 1.815 MB / 0.9014 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00133/1.162, allocations: 266.7 kB / 0.9016 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006185/1.163, allocations: 175.4 kB / 0.9018 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.163, allocations: 0 / 0.9018 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of Templates: time 0.1087/1.271, allocations: 66.62 MB / 0.9668 GB, free: 12.09 MB / 0.6387 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)