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.001179/0.001178, allocations: 108.7 kB / 16.37 MB, free: 6.473 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.333/1.333, allocations: 222.9 MB / 240 MB, free: 4.582 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.001322/0.001322, allocations: 188.4 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5255/0.5255, allocations: 91.9 MB / 432.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 79.88 kB / 0.5033 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3735, allocations: 71.26 MB / 0.5729 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.009995/0.3835, allocations: 13.8 MB / 0.5864 GB, free: 27.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007174/0.3907, allocations: 3.523 MB / 0.5898 GB, free: 25.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.393, allocations: 33.84 kB / 0.5898 GB, free: 25.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.3944, allocations: 0.5579 MB / 0.5904 GB, free: 24.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.3991, allocations: 1.427 MB / 0.5918 GB, free: 23.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.4025, allocations: 1.514 MB / 0.5933 GB, free: 23.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005032/0.4075, allocations: 3.785 MB / 0.597 GB, free: 21.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.4092, allocations: 0.8943 MB / 0.5978 GB, free: 20.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.4121, allocations: 1.545 MB / 0.5993 GB, free: 20.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.4154, allocations: 1.983 MB / 0.6013 GB, free: 19.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.4167, allocations: 290.3 kB / 0.6015 GB, free: 19.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.4188, allocations: 445.8 kB / 0.602 GB, free: 19.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.4202, allocations: 0.7822 MB / 0.6027 GB, free: 18.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002478/0.4227, allocations: 1.646 MB / 0.6043 GB, free: 17.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.4273, allocations: 4.011 MB / 0.6083 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4273, allocations: 0 / 0.6083 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4274, allocations: 1.828 kB / 0.6083 GB, free: 15.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001044/0.4275, allocations: 0 / 0.6083 GB, free: 15.55 MB / 430.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.02374/0.4512, allocations: 6.652 MB / 0.6148 GB, free: 12.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4513, allocations: 8.594 kB / 0.6148 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.466, allocations: 2.275 MB / 0.617 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/0.4707, allocations: 1.899 MB / 0.6188 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000614/0.4713, allocations: 0.7233 MB / 0.6196 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005486/0.4718, allocations: 219.1 kB / 0.6198 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006329/0.4782, allocations: 3.047 MB / 0.6227 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.4782, allocations: 4 kB / 0.6227 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002418/0.4785, allocations: 90.8 kB / 0.6228 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.4785, allocations: 48.62 kB / 0.6229 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005495/0.484, allocations: 2.797 MB / 0.6256 GB, free: 8.035 MB / 430.1 MB 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.01601/0.5001, allocations: 9.865 MB / 0.6352 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.5104, allocations: 4.207 MB / 0.6393 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/0.5145, allocations: 1.979 MB / 0.6413 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/0.5149, allocations: 37.95 kB / 0.6413 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00549/0.5204, allocations: 2.242 MB / 0.6435 GB, free: 5.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 1.024e-05/0.5204, allocations: 4 kB / 0.6435 GB, free: 5.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1094/0.6299, allocations: 27.42 MB / 0.6703 GB, free: 9.727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.6301, allocations: 188.2 kB / 0.6705 GB, free: 9.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004599/0.6347, allocations: 2.313 MB / 0.6727 GB, free: 7.172 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009922/0.6357, allocations: 65.7 kB / 0.6728 GB, free: 7.102 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009457/0.6367, allocations: 1.184 MB / 0.6739 GB, free: 5.906 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.638, allocations: 0.878 MB / 0.6748 GB, free: 5.016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.6392, allocations: 0.5697 MB / 0.6754 GB, free: 4.438 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6393, allocations: 301.1 kB / 0.6756 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004011/0.6434, allocations: 1.974 MB / 0.6776 GB, free: 2.164 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004224/0.6476, allocations: 2.338 MB / 0.6799 GB, free: 15.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05309/0.7007, allocations: 14.24 MB / 0.6938 GB, free: 1.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.7007, allocations: 4 kB / 0.6938 GB, free: 1.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0384/0.7392, allocations: 12.55 MB / 0.706 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.951e-05/0.7393, allocations: 114.8 kB / 0.7061 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.7393, allocations: 8 kB / 0.7061 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01637/0.7557, allocations: 5.257 MB / 0.7113 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.7591, allocations: 0.5851 MB / 0.7118 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05717/0.8163, allocations: 23.16 MB / 0.7345 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005032/0.8214, allocations: 0.4893 MB / 0.7349 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006637/0.8221, allocations: 116 kB / 0.7351 GB, free: 6.707 MB / 0.5294 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.001529/0.8236, allocations: 0.5487 MB / 0.7356 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008513/0.8245, allocations: 300.3 kB / 0.7359 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03673/0.8612, allocations: 11.93 MB / 0.7475 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.8613, allocations: 27.94 kB / 0.7476 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-05/0.8613, allocations: 20 kB / 0.7476 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-05/0.8614, allocations: 11.95 kB / 0.7476 GB, free: 9.762 MB / 0.545 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.0438/0.9052, allocations: 15.55 MB / 0.7628 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.408e-05/0.9053, allocations: 0 / 0.7628 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.907, allocations: 247.6 kB / 0.763 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01692/0.924, allocations: 5.3 MB / 0.7682 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000677/0.9247, allocations: 51.98 kB / 0.7682 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3021/1.227, allocations: 24.92 MB / 0.7926 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.227, allocations: 0 / 0.7926 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04441/1.271, allocations: 14.32 MB / 0.8065 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.272, allocations: 407.5 kB / 0.8069 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007704/1.273, allocations: 53.94 kB / 0.807 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/1.276, allocations: 301.6 kB / 0.8073 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002027/1.278, allocations: 0.5775 MB / 0.8078 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002709/1.278, allocations: 65.69 kB / 0.8079 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002355/1.281, allocations: 1.532 MB / 0.8094 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.281, allocations: 2.625 kB / 0.8094 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004176/1.285, allocations: 1.183 MB / 0.8106 GB, free: 154 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.0004983/1.285, allocations: 172.8 kB / 0.8107 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0148/1.3, allocations: 6.664 MB / 0.8172 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.3, allocations: 0 / 0.8172 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01162/1.312, allocations: 4.434 MB / 0.8216 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/1.316, allocations: 274.7 kB / 0.8218 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009337/1.325, allocations: 5.402 MB / 0.8271 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/1.326, allocations: 1.815 MB / 0.8289 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001212/1.327, allocations: 266.2 kB / 0.8291 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/1.328, allocations: 174.7 kB / 0.8293 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.575e-06/1.328, allocations: 0 / 0.8293 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.0769/1.405, allocations: 63.57 MB / 0.8914 GB, free: 78.38 MB / 0.5606 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)