Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001366/0.001366, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.1 MB, free: 4.336 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.001282/0.001282, allocations: 184.5 kB / 290.4 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4609/0.4609, allocations: 78.53 MB / 419.1 MB, free: 3.105 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 80.2 kB / 0.5544 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3113, allocations: 68.16 MB / 0.6209 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.0105/0.3219, allocations: 13.77 MB / 0.6344 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00821/0.3301, allocations: 3.499 MB / 0.6378 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/0.3333, allocations: 35.88 kB / 0.6378 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.3354, allocations: 0.5576 MB / 0.6384 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.3408, allocations: 1.591 MB / 0.6399 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.3447, allocations: 1.516 MB / 0.6414 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006557/0.3513, allocations: 3.788 MB / 0.6451 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.3529, allocations: 0.8934 MB / 0.646 GB, free: 396 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.3554, allocations: 1.556 MB / 0.6475 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.3578, allocations: 1.983 MB / 0.6494 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005786/0.3584, allocations: 288 kB / 0.6497 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3594, allocations: 443.8 kB / 0.6501 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006574/0.3601, allocations: 0.774 MB / 0.6509 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.3619, allocations: 1.647 MB / 0.6525 GB, free: 9.684 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.3663, allocations: 4.026 MB / 0.6564 GB, free: 5.648 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3664, allocations: 3.984 kB / 0.6564 GB, free: 5.645 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3664, allocations: 0 / 0.6564 GB, free: 5.645 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.937e-05/0.3665, allocations: 4 kB / 0.6564 GB, free: 5.641 MB / 462.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.02492/0.3914, allocations: 6.636 MB / 0.6629 GB, free: 14.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3915, allocations: 8.031 kB / 0.6629 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.4074, allocations: 2.279 MB / 0.6651 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/0.4115, allocations: 1.902 MB / 0.667 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006931/0.4123, allocations: 0.7291 MB / 0.6677 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/0.4128, allocations: 219.9 kB / 0.6679 GB, free: 9.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006561/0.4194, allocations: 3.043 MB / 0.6709 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.4194, allocations: 0 / 0.6709 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.4197, allocations: 83.94 kB / 0.671 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.4197, allocations: 52 kB / 0.671 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00609/0.4258, allocations: 2.796 MB / 0.6738 GB, free: 3.523 MB / 478.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.01804/0.4439, allocations: 9.86 MB / 0.6834 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.4552, allocations: 4.207 MB / 0.6875 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/0.4597, allocations: 1.972 MB / 0.6894 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.46, allocations: 45.95 kB / 0.6895 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005025/0.465, allocations: 2.244 MB / 0.6916 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 4.889e-06/0.465, allocations: 0 / 0.6916 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1235/0.5885, allocations: 27.42 MB / 0.7184 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/0.5886, allocations: 184.2 kB / 0.7186 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/0.5923, allocations: 2.309 MB / 0.7209 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006549/0.5929, allocations: 77.62 kB / 0.7209 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009318/0.5939, allocations: 1.18 MB / 0.7221 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.5951, allocations: 0.882 MB / 0.7229 GB, free: 368 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.5962, allocations: 0.562 MB / 0.7235 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5964, allocations: 301.1 kB / 0.7238 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004587/0.6009, allocations: 1.97 MB / 0.7257 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004796/0.6058, allocations: 2.338 MB / 0.728 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06431/0.6701, allocations: 14.25 MB / 0.7419 GB, free: 12.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.6701, allocations: 4 kB / 0.7419 GB, free: 12.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04389/0.714, allocations: 12.54 MB / 0.7542 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.7142, allocations: 118.8 kB / 0.7543 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.7142, allocations: 16 kB / 0.7543 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01883/0.733, allocations: 5.253 MB / 0.7594 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/0.7364, allocations: 0.589 MB / 0.76 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3472/1.084, allocations: 23.16 MB / 0.7826 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004441/1.088, allocations: 494.8 kB / 0.7831 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003729/1.089, allocations: 121 kB / 0.7832 GB, free: 120.8 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.001184/1.09, allocations: 0.5284 MB / 0.7837 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/1.09, allocations: 302.4 kB / 0.784 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03937/1.13, allocations: 11.93 MB / 0.7957 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-05/1.13, allocations: 14.11 kB / 0.7957 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.13, allocations: 1.094 kB / 0.7957 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008345/1.131, allocations: 413.9 kB / 0.7961 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007419/1.131, allocations: 47.84 kB / 0.7961 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00301/1.134, allocations: 297 kB / 0.7964 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004296/1.139, allocations: 1.413 MB / 0.7978 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01667/1.155, allocations: 5.942 MB / 0.8036 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01129/1.167, allocations: 5.938 MB / 0.8094 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003395/1.17, allocations: 1.624 MB / 0.811 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001998/1.172, allocations: 1.533 MB / 0.8125 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of Backend: time 4.21e-07/1.172, allocations: 2.406 kB / 0.8125 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01454/1.187, allocations: 5.125 MB / 0.8175 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006631/1.193, allocations: 6.347 MB / 0.8237 GB, free: 95.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.07106/1.264, allocations: 59.21 MB / 0.8815 GB, free: 36.26 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)