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.001192/0.001192, allocations: 104.6 kB / 16.41 MB, free: 6.508 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.382/1.382, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001639/0.001639, allocations: 200.4 kB / 290.4 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.536/0.536, allocations: 91.9 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 83.41 kB / 0.5734 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1533, allocations: 71.29 MB / 0.6431 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01229/0.1656, allocations: 13.71 MB / 0.6564 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008249/0.1739, allocations: 3.48 MB / 0.6598 GB, free: 2.281 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.1771, allocations: 28 kB / 0.6599 GB, free: 2.254 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.179, allocations: 0.5576 MB / 0.6604 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00523/0.1843, allocations: 1.42 MB / 0.6618 GB, free: 276 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.188, allocations: 1.518 MB / 0.6633 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005259/0.1933, allocations: 3.725 MB / 0.6669 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.1945, allocations: 0.8973 MB / 0.6678 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.1967, allocations: 1.521 MB / 0.6693 GB, free: 8.555 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.1988, allocations: 1.948 MB / 0.6712 GB, free: 6.598 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004588/0.1993, allocations: 284 kB / 0.6715 GB, free: 6.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008306/0.2001, allocations: 431.9 kB / 0.6719 GB, free: 5.898 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005748/0.2007, allocations: 0.7623 MB / 0.6726 GB, free: 5.133 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.2021, allocations: 1.627 MB / 0.6742 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.2061, allocations: 3.974 MB / 0.6781 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2062, allocations: 0 / 0.6781 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.2062, allocations: 0 / 0.6781 GB, free: 15.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.841e-05/0.2062, allocations: 3.938 kB / 0.6781 GB, free: 15.5 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.02304/0.2293, allocations: 6.571 MB / 0.6845 GB, free: 8.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.2294, allocations: 8.031 kB / 0.6845 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.2444, allocations: 2.275 MB / 0.6867 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/0.2494, allocations: 1.878 MB / 0.6886 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009012/0.2503, allocations: 0.7252 MB / 0.6893 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006284/0.251, allocations: 216 kB / 0.6895 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006304/0.2573, allocations: 3.032 MB / 0.6924 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.2574, allocations: 3.938 kB / 0.6924 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.2576, allocations: 91.94 kB / 0.6925 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.2577, allocations: 48 kB / 0.6926 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005606/0.2633, allocations: 2.784 MB / 0.6953 GB, free: 13.5 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.01886/0.2822, allocations: 9.841 MB / 0.7049 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.2924, allocations: 4.192 MB / 0.709 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004021/0.2965, allocations: 1.96 MB / 0.7109 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.2967, allocations: 45.95 kB / 0.711 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004499/0.3013, allocations: 2.232 MB / 0.7131 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=248): time 4.408e-06/0.3013, allocations: 0 / 0.7131 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.1181/0.4194, allocations: 28.18 MB / 0.7407 GB, free: 14.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.4195, allocations: 184.2 kB / 0.7408 GB, free: 14.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/0.423, allocations: 2.265 MB / 0.743 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006828/0.4237, allocations: 73.7 kB / 0.7431 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008744/0.4246, allocations: 1.164 MB / 0.7443 GB, free: 10.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.4258, allocations: 0.8703 MB / 0.7451 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.427, allocations: 0.5618 MB / 0.7457 GB, free: 9.133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4271, allocations: 309.1 kB / 0.7459 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00411/0.4313, allocations: 1.958 MB / 0.7479 GB, free: 6.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004433/0.4357, allocations: 2.322 MB / 0.7501 GB, free: 4.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05384/0.4896, allocations: 14.01 MB / 0.7638 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/0.4896, allocations: 4 kB / 0.7638 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.4516/0.9413, allocations: 12.5 MB / 0.776 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.81e-05/0.9414, allocations: 119.2 kB / 0.7761 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/0.9415, allocations: 7.094 kB / 0.7761 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02041/0.9619, allocations: 5.295 MB / 0.7813 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003642/0.9656, allocations: 0.5669 MB / 0.7819 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0532/1.019, allocations: 23.16 MB / 0.8045 GB, free: 99.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/1.024, allocations: 494.3 kB / 0.805 GB, free: 99.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/1.024, allocations: 118.5 kB / 0.8051 GB, free: 99.06 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.001354/1.025, allocations: 0.5316 MB / 0.8056 GB, free: 98.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/1.026, allocations: 297.1 kB / 0.8059 GB, free: 98.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03505/1.061, allocations: 11.9 MB / 0.8175 GB, free: 86.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/1.061, allocations: 28 kB / 0.8175 GB, free: 86.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/1.061, allocations: 16 kB / 0.8175 GB, free: 86.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-05/1.061, allocations: 23.92 kB / 0.8176 GB, free: 86.3 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.03936/1.101, allocations: 15.5 MB / 0.8327 GB, free: 70.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/1.101, allocations: 0 / 0.8327 GB, free: 70.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.102, allocations: 247.6 kB / 0.8329 GB, free: 70.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01569/1.118, allocations: 5.246 MB / 0.838 GB, free: 65.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008646/1.119, allocations: 51.97 kB / 0.8381 GB, free: 65.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0512/1.17, allocations: 24.93 MB / 0.8624 GB, free: 39.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.17, allocations: 4 kB / 0.8624 GB, free: 39.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04036/1.211, allocations: 14.27 MB / 0.8764 GB, free: 25.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.212, allocations: 408.7 kB / 0.8768 GB, free: 25.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/1.212, allocations: 55.92 kB / 0.8768 GB, free: 25.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.215, allocations: 295.6 kB / 0.8771 GB, free: 24.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002086/1.217, allocations: 0.5841 MB / 0.8777 GB, free: 24.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.217, allocations: 67.98 kB / 0.8777 GB, free: 24.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001907/1.219, allocations: 1.495 MB / 0.8792 GB, free: 22.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.219, allocations: 4 kB / 0.8792 GB, free: 22.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003406/1.223, allocations: 1.178 MB / 0.8804 GB, free: 21.41 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.0004262/1.223, allocations: 166.4 kB / 0.8805 GB, free: 21.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0157/1.239, allocations: 6.629 MB / 0.887 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.239, allocations: 0 / 0.887 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01172/1.25, allocations: 4.391 MB / 0.8913 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/1.253, allocations: 268.4 kB / 0.8915 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008876/1.262, allocations: 5.385 MB / 0.8968 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.263, allocations: 1.802 MB / 0.8986 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008/1.263, allocations: 187.4 kB / 0.8987 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/1.263, allocations: 0 / 0.8987 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.09312/1.357, allocations: 64.04 MB / 0.9613 GB, free: 2.332 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)