Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 112.6 kB / 16.37 MB, free: 6 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.32/1.32, allocations: 222.9 MB / 240 MB, free: 4.559 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.001633/0.001633, allocations: 188.5 kB / 290.3 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.521/0.521, allocations: 91.91 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 76.09 kB / 0.5033 GB, free: 6.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4217, allocations: 71.26 MB / 0.5729 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01608/0.4379, allocations: 21.97 MB / 0.5943 GB, free: 21.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.4508, allocations: 4.924 MB / 0.5991 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006533/0.4573, allocations: 44.75 kB / 0.5992 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.4612, allocations: 0.8894 MB / 0.6001 GB, free: 17.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00959/0.4708, allocations: 2.047 MB / 0.6021 GB, free: 16.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006332/0.4771, allocations: 2.079 MB / 0.6041 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.4889, allocations: 5.796 MB / 0.6097 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003905/0.4929, allocations: 1.327 MB / 0.611 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005698/0.4986, allocations: 2.345 MB / 0.6133 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006306/0.5049, allocations: 2.985 MB / 0.6162 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002748/0.5077, allocations: 445.7 kB / 0.6167 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.5123, allocations: 0.5937 MB / 0.6172 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00299/0.5153, allocations: 1.171 MB / 0.6184 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00753/0.5229, allocations: 2.634 MB / 0.621 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.5358, allocations: 6.291 MB / 0.6271 GB, free: 3.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5359, allocations: 1.125 kB / 0.6271 GB, free: 3.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.5359, allocations: 0 / 0.6271 GB, free: 3.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004114/0.5363, allocations: 0 / 0.6271 GB, free: 3.23 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.04146/0.5778, allocations: 9.248 MB / 0.6361 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/0.5778, allocations: 8.031 kB / 0.6361 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02643/0.6043, allocations: 4.012 MB / 0.6401 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007814/0.6122, allocations: 2.686 MB / 0.6427 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/0.6132, allocations: 0.9689 MB / 0.6436 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.6143, allocations: 348 kB / 0.644 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009559/0.6238, allocations: 4.751 MB / 0.6486 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.113e-05/0.6239, allocations: 3.984 kB / 0.6486 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003858/0.6243, allocations: 144 kB / 0.6487 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.339e-05/0.6244, allocations: 88 kB / 0.6488 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008508/0.6329, allocations: 4.26 MB / 0.653 GB, free: 12.04 MB / 462.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.03355/0.6665, allocations: 18.29 MB / 0.6709 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.6777, allocations: 5.037 MB / 0.6758 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005403/0.6831, allocations: 2.794 MB / 0.6785 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/0.6836, allocations: 74.91 kB / 0.6786 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005832/0.6894, allocations: 3.199 MB / 0.6817 GB, free: 13.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=385): time 6.181e-06/0.6894, allocations: 0 / 0.6817 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.2637/0.9532, allocations: 66.81 MB / 0.7469 GB, free: 10.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.9533, allocations: 149.9 kB / 0.7471 GB, free: 10.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005644/0.959, allocations: 3.259 MB / 0.7503 GB, free: 6.879 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001202/0.9602, allocations: 93.69 kB / 0.7504 GB, free: 6.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.9618, allocations: 1.974 MB / 0.7523 GB, free: 4.793 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/0.9636, allocations: 1.328 MB / 0.7536 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.965, allocations: 0.6823 MB / 0.7543 GB, free: 2.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.9651, allocations: 317 kB / 0.7546 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005132/0.9703, allocations: 2.616 MB / 0.7571 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00549/0.9758, allocations: 3.249 MB / 0.7603 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3944/1.37, allocations: 19.11 MB / 0.7789 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.275e-05/1.37, allocations: 6.625 kB / 0.779 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05701/1.427, allocations: 17.24 MB / 0.7958 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/1.427, allocations: 68.53 kB / 0.7959 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.844e-05/1.428, allocations: 13.47 kB / 0.7959 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02475/1.452, allocations: 7.296 MB / 0.803 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/1.456, allocations: 0.687 MB / 0.8037 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07508/1.531, allocations: 33.85 MB / 0.8367 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006758/1.538, allocations: 0.627 MB / 0.8373 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008584/1.539, allocations: 148 kB / 0.8375 GB, free: 131.9 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002078/1.541, allocations: 0.674 MB / 0.8381 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.542, allocations: 458.3 kB / 0.8386 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04513/1.587, allocations: 16.88 MB / 0.8551 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/1.587, allocations: 40 kB / 0.8551 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-05/1.587, allocations: 32 kB / 0.8551 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/1.587, allocations: 19.92 kB / 0.8552 GB, free: 113.8 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.05153/1.639, allocations: 21.91 MB / 0.8766 GB, free: 91.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/1.639, allocations: 0 / 0.8766 GB, free: 91.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/1.641, allocations: 395.5 kB / 0.8769 GB, free: 91.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02198/1.663, allocations: 7.348 MB / 0.8841 GB, free: 84.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001132/1.664, allocations: 71.98 kB / 0.8842 GB, free: 83.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06563/1.73, allocations: 31.82 MB / 0.9152 GB, free: 51.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.73, allocations: 7.922 kB / 0.9153 GB, free: 51.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05195/1.782, allocations: 20.29 MB / 0.9351 GB, free: 31.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/1.784, allocations: 0.5648 MB / 0.9356 GB, free: 30.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/1.785, allocations: 68 kB / 0.9357 GB, free: 30.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/1.789, allocations: 379.5 kB / 0.936 GB, free: 30.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002817/1.792, allocations: 0.7805 MB / 0.9368 GB, free: 29.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/1.792, allocations: 95.98 kB / 0.9369 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002548/1.795, allocations: 2.153 MB / 0.939 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.795, allocations: 4 kB / 0.939 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006414/1.801, allocations: 1.814 MB / 0.9408 GB, free: 25.61 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006481/1.802, allocations: 206.3 kB / 0.941 GB, free: 25.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02192/1.824, allocations: 9.371 MB / 0.9501 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.824, allocations: 0 / 0.9501 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01722/1.841, allocations: 6.197 MB / 0.9562 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005773/1.847, allocations: 387 kB / 0.9565 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.863, allocations: 8.011 MB / 0.9644 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/1.865, allocations: 2.459 MB / 0.9668 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00174/1.867, allocations: 375.2 kB / 0.9671 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008863/1.868, allocations: 247.4 kB / 0.9674 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/1.868, allocations: 0 / 0.9674 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.4538/2.321, allocations: 93.31 MB / 1.058 GB, free: 157 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)