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.001149/0.001149, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.328/1.328, allocations: 222.9 MB / 240.1 MB, free: 4.586 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.001288/0.001288, allocations: 191.8 kB / 290.4 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4989/0.4989, allocations: 91.91 MB / 432.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 75.66 kB / 0.5735 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.11, allocations: 71.28 MB / 0.6431 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01279/0.1228, allocations: 13.82 MB / 0.6566 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007286/0.1302, allocations: 3.511 MB / 0.66 GB, free: 2.203 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.1322, allocations: 28 kB / 0.66 GB, free: 2.176 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.1339, allocations: 0.5537 MB / 0.6605 GB, free: 1.617 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004435/0.1384, allocations: 1.578 MB / 0.6621 GB, free: 40 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.1419, allocations: 1.523 MB / 0.6636 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004606/0.1465, allocations: 3.784 MB / 0.6673 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.1479, allocations: 0.8934 MB / 0.6681 GB, free: 9.793 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002161/0.1501, allocations: 1.556 MB / 0.6697 GB, free: 8.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.1529, allocations: 1.987 MB / 0.6716 GB, free: 6.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009749/0.1539, allocations: 292 kB / 0.6719 GB, free: 5.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.1553, allocations: 427.9 kB / 0.6723 GB, free: 5.531 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009587/0.1563, allocations: 0.7779 MB / 0.6731 GB, free: 4.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002032/0.1583, allocations: 1.654 MB / 0.6747 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.1625, allocations: 4.02 MB / 0.6786 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1625, allocations: 0 / 0.6786 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1625, allocations: 0 / 0.6786 GB, free: 15.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.768e-05/0.1626, allocations: 0 / 0.6786 GB, free: 15.05 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.02367/0.1862, allocations: 6.637 MB / 0.6851 GB, free: 8.316 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1863, allocations: 12.02 kB / 0.6851 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/0.2021, allocations: 2.271 MB / 0.6873 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004269/0.2064, allocations: 1.902 MB / 0.6892 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007019/0.2071, allocations: 0.733 MB / 0.6899 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004789/0.2076, allocations: 215.9 kB / 0.6901 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006427/0.214, allocations: 3.043 MB / 0.6931 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.2141, allocations: 3.938 kB / 0.6931 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.2144, allocations: 91.94 kB / 0.6931 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.2144, allocations: 48 kB / 0.6932 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005986/0.2204, allocations: 2.796 MB / 0.6959 GB, free: 12.92 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.01943/0.2399, allocations: 9.856 MB / 0.7055 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/0.2514, allocations: 4.211 MB / 0.7097 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004408/0.2559, allocations: 1.976 MB / 0.7116 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.2562, allocations: 45.95 kB / 0.7116 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005159/0.2614, allocations: 2.24 MB / 0.7138 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 6.021e-06/0.2614, allocations: 0 / 0.7138 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1239/0.3853, allocations: 27.42 MB / 0.7406 GB, free: 14.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3855, allocations: 180.2 kB / 0.7408 GB, free: 14.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.3895, allocations: 2.317 MB / 0.743 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006441/0.3902, allocations: 77.69 kB / 0.7431 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009811/0.3912, allocations: 1.176 MB / 0.7443 GB, free: 10.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.3925, allocations: 0.8781 MB / 0.7451 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001758/0.3943, allocations: 0.5619 MB / 0.7457 GB, free: 9.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3944, allocations: 301.1 kB / 0.746 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005019/0.3994, allocations: 1.974 MB / 0.7479 GB, free: 6.914 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005084/0.4045, allocations: 2.346 MB / 0.7502 GB, free: 4.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06003/0.4646, allocations: 14.23 MB / 0.7641 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.579e-05/0.4647, allocations: 8 kB / 0.7641 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.3193/0.784, allocations: 12.55 MB / 0.7763 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.406e-05/0.7841, allocations: 115.4 kB / 0.7764 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.7841, allocations: 10.44 kB / 0.7765 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/0.8029, allocations: 5.256 MB / 0.7816 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/0.8061, allocations: 0.583 MB / 0.7822 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05676/0.8629, allocations: 23.17 MB / 0.8048 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/0.8674, allocations: 493.9 kB / 0.8052 GB, free: 98.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006004/0.868, allocations: 118.8 kB / 0.8054 GB, free: 98.84 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.001689/0.8697, allocations: 0.5392 MB / 0.8059 GB, free: 98.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007957/0.8705, allocations: 295.7 kB / 0.8062 GB, free: 98.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03983/0.9104, allocations: 11.93 MB / 0.8178 GB, free: 86.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.524e-05/0.9105, allocations: 11.95 kB / 0.8178 GB, free: 86.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.9105, allocations: 4 kB / 0.8178 GB, free: 86.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008311/0.9113, allocations: 421 kB / 0.8182 GB, free: 85.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009384/0.9123, allocations: 46.44 kB / 0.8183 GB, free: 85.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003398/0.9157, allocations: 301.7 kB / 0.8186 GB, free: 85.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004432/0.9201, allocations: 1.418 MB / 0.82 GB, free: 83.86 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01771/0.9379, allocations: 5.945 MB / 0.8258 GB, free: 77.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01278/0.9507, allocations: 5.938 MB / 0.8316 GB, free: 71.84 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00365/0.9544, allocations: 1.616 MB / 0.8331 GB, free: 70.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002327/0.9567, allocations: 1.535 MB / 0.8346 GB, free: 68.67 MB / 0.5606 GB Notification: Performance of Backend: time 5.61e-07/0.9567, allocations: 0 / 0.8346 GB, free: 68.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01594/0.9727, allocations: 5.128 MB / 0.8396 GB, free: 63.51 MB / 0.5606 GB Notification: Performance of SimCode: time 0.008014/0.9807, allocations: 6.335 MB / 0.8458 GB, free: 57.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.07582/1.057, allocations: 59.25 MB / 0.9037 GB, free: 13.96 MB / 0.5762 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)