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.001188/0.001188, allocations: 105.8 kB / 16.41 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.367/1.367, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.001391/0.001391, allocations: 191.9 kB / 290.4 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.5249/0.5249, allocations: 91.9 MB / 432.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 79.09 kB / 0.5734 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1506, allocations: 71.29 MB / 0.6431 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01343/0.1641, allocations: 13.71 MB / 0.6564 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008617/0.1727, allocations: 3.476 MB / 0.6598 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/0.1761, allocations: 31.94 kB / 0.6599 GB, free: 2.242 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.1784, allocations: 0.5576 MB / 0.6604 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00607/0.1846, allocations: 1.42 MB / 0.6618 GB, free: 264 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004399/0.189, allocations: 1.524 MB / 0.6633 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006884/0.1959, allocations: 3.722 MB / 0.6669 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.1978, allocations: 0.8934 MB / 0.6678 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.2007, allocations: 1.532 MB / 0.6693 GB, free: 8.535 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.2038, allocations: 1.948 MB / 0.6712 GB, free: 6.578 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.205, allocations: 284 kB / 0.6715 GB, free: 6.301 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.2067, allocations: 427.8 kB / 0.6719 GB, free: 5.883 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.2079, allocations: 0.7624 MB / 0.6726 GB, free: 5.117 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002894/0.2108, allocations: 1.631 MB / 0.6742 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.2159, allocations: 3.966 MB / 0.6781 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2159, allocations: 4 kB / 0.6781 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2159, allocations: 4 kB / 0.6781 GB, free: 15.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.618e-05/0.216, allocations: 0 / 0.6781 GB, free: 15.49 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.02413/0.2402, allocations: 6.563 MB / 0.6845 GB, free: 8.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.2402, allocations: 11.97 kB / 0.6845 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.2557, allocations: 2.286 MB / 0.6867 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/0.2602, allocations: 1.874 MB / 0.6886 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008014/0.2611, allocations: 0.7252 MB / 0.6893 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006599/0.2617, allocations: 212 kB / 0.6895 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006516/0.2683, allocations: 3.035 MB / 0.6925 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.2683, allocations: 0 / 0.6925 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.2686, allocations: 91.92 kB / 0.6925 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.2686, allocations: 52 kB / 0.6926 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006068/0.2747, allocations: 2.776 MB / 0.6953 GB, free: 13.49 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.02054/0.2953, allocations: 9.848 MB / 0.7049 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.3069, allocations: 4.184 MB / 0.709 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/0.3115, allocations: 1.964 MB / 0.7109 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.3119, allocations: 41.95 kB / 0.711 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005413/0.3174, allocations: 2.228 MB / 0.7131 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=248): time 7.854e-06/0.3174, allocations: 0 / 0.7131 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.1273/0.4448, allocations: 28.18 MB / 0.7407 GB, free: 14.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.4449, allocations: 184.2 kB / 0.7408 GB, free: 14.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004551/0.4495, allocations: 2.269 MB / 0.7431 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007691/0.4503, allocations: 73.7 kB / 0.7431 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.4514, allocations: 1.16 MB / 0.7443 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/0.4529, allocations: 0.8743 MB / 0.7451 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002054/0.455, allocations: 0.5656 MB / 0.7457 GB, free: 9.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4551, allocations: 305.1 kB / 0.746 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/0.4599, allocations: 1.954 MB / 0.7479 GB, free: 6.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/0.4651, allocations: 2.318 MB / 0.7501 GB, free: 4.445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0571/0.5223, allocations: 14.02 MB / 0.7638 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.5223, allocations: 0 / 0.7638 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.4045/0.9268, allocations: 12.5 MB / 0.776 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-05/0.927, allocations: 119.8 kB / 0.7761 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.927, allocations: 6.719 kB / 0.7761 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01885/0.9459, allocations: 5.287 MB / 0.7813 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/0.949, allocations: 0.5686 MB / 0.7819 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05703/1.006, allocations: 23.17 MB / 0.8045 GB, free: 99.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00478/1.011, allocations: 493.9 kB / 0.805 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008689/1.012, allocations: 113.4 kB / 0.8051 GB, free: 99.04 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.002173/1.014, allocations: 0.5361 MB / 0.8056 GB, free: 98.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.015, allocations: 300.1 kB / 0.8059 GB, free: 98.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03857/1.054, allocations: 11.89 MB / 0.8175 GB, free: 86.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/1.054, allocations: 24 kB / 0.8175 GB, free: 86.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-05/1.054, allocations: 23.98 kB / 0.8175 GB, free: 86.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.306e-05/1.054, allocations: 11.95 kB / 0.8175 GB, free: 86.34 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.04545/1.099, allocations: 15.5 MB / 0.8327 GB, free: 70.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/1.1, allocations: 1.531 kB / 0.8327 GB, free: 70.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.101, allocations: 247.6 kB / 0.8329 GB, free: 70.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01715/1.118, allocations: 5.247 MB / 0.838 GB, free: 65.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009015/1.119, allocations: 51.98 kB / 0.8381 GB, free: 65.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0576/1.177, allocations: 24.94 MB / 0.8624 GB, free: 39.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.177, allocations: 480 / 0.8624 GB, free: 39.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04427/1.221, allocations: 14.27 MB / 0.8764 GB, free: 25.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009801/1.222, allocations: 408.1 kB / 0.8768 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/1.224, allocations: 55.94 kB / 0.8768 GB, free: 25.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003654/1.227, allocations: 298.6 kB / 0.8771 GB, free: 24.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00249/1.23, allocations: 0.5875 MB / 0.8777 GB, free: 24.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000576/1.23, allocations: 63.98 kB / 0.8777 GB, free: 24.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002782/1.233, allocations: 1.495 MB / 0.8792 GB, free: 22.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.82e-07/1.233, allocations: 6.156 kB / 0.8792 GB, free: 22.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004803/1.238, allocations: 1.178 MB / 0.8804 GB, free: 21.44 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.0007215/1.239, allocations: 171 kB / 0.8805 GB, free: 21.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0183/1.257, allocations: 6.621 MB / 0.887 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.257, allocations: 0 / 0.887 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0135/1.271, allocations: 4.383 MB / 0.8913 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.274, allocations: 275.8 kB / 0.8915 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.285, allocations: 5.385 MB / 0.8968 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.286, allocations: 1.802 MB / 0.8985 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.287, allocations: 191.4 kB / 0.8987 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.287, allocations: 0 / 0.8987 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of Templates: time 0.08545/1.372, allocations: 64.04 MB / 0.9613 GB, free: 2.359 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)