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.001042/0.001042, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.518/1.518, allocations: 223.3 MB / 239.4 MB, free: 5.504 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.001318/0.001318, allocations: 191.1 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5451/0.5451, allocations: 91.91 MB / 433.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004145, allocations: 12.23 kB / 0.5048 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4013, allocations: 72.46 MB / 0.5755 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01548/0.4168, allocations: 22.66 MB / 0.5976 GB, free: 20.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.4307, allocations: 5.176 MB / 0.6027 GB, free: 16.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006816/0.4375, allocations: 51.44 kB / 0.6028 GB, free: 16.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003915/0.4415, allocations: 0.6767 MB / 0.6034 GB, free: 16.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.4516, allocations: 1.735 MB / 0.6051 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006177/0.4578, allocations: 1.928 MB / 0.607 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.4702, allocations: 5.515 MB / 0.6124 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004009/0.4743, allocations: 1.125 MB / 0.6135 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005522/0.4798, allocations: 2.087 MB / 0.6155 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005846/0.4857, allocations: 2.73 MB / 0.6182 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002532/0.4883, allocations: 238.9 kB / 0.6184 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.4923, allocations: 384.1 kB / 0.6188 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002892/0.4952, allocations: 0.9445 MB / 0.6197 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007415/0.5027, allocations: 2.413 MB / 0.6221 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.5157, allocations: 5.902 MB / 0.6278 GB, free: 3.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5158, allocations: 1.5 kB / 0.6278 GB, free: 3.773 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.5158, allocations: 3.938 kB / 0.6278 GB, free: 3.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004058/0.5162, allocations: 0 / 0.6278 GB, free: 3.77 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.03596/0.5522, allocations: 8.501 MB / 0.6361 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.5522, allocations: 9.312 kB / 0.6361 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02841/0.5807, allocations: 4.055 MB / 0.6401 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008496/0.5892, allocations: 2.682 MB / 0.6427 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00138/0.5906, allocations: 0.9964 MB / 0.6437 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.5927, allocations: 355.9 kB / 0.644 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.6116, allocations: 5.009 MB / 0.6489 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001697/0.6118, allocations: 0 / 0.6489 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001554/0.6134, allocations: 144 kB / 0.6491 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.904e-05/0.6135, allocations: 88 kB / 0.6491 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.6282, allocations: 4.521 MB / 0.6536 GB, free: 13.51 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.05118/0.6794, allocations: 18.91 MB / 0.672 GB, free: 9.414 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/0.6962, allocations: 5.783 MB / 0.6777 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007731/0.704, allocations: 3.058 MB / 0.6807 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000905/0.7049, allocations: 74.92 kB / 0.6807 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01018/0.7151, allocations: 3.458 MB / 0.6841 GB, free: 12.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=385): time 1.388e-05/0.7152, allocations: 0 / 0.6841 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.3312/1.046, allocations: 80.39 MB / 0.7626 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.047, allocations: 149.8 kB / 0.7628 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007901/1.054, allocations: 3.267 MB / 0.7659 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0013/1.056, allocations: 89.7 kB / 0.766 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.058, allocations: 1.982 MB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002718/1.06, allocations: 1.324 MB / 0.7693 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000767/1.061, allocations: 346.9 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/1.061, allocations: 305.1 kB / 0.7699 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006532/1.068, allocations: 2.886 MB / 0.7727 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3533/1.421, allocations: 3.507 MB / 0.7761 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07882/1.5, allocations: 21.03 MB / 0.7967 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.356e-05/1.5, allocations: 5.062 kB / 0.7967 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06611/1.566, allocations: 21.03 MB / 0.8172 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/1.566, allocations: 71.03 kB / 0.8173 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.201e-05/1.566, allocations: 11.84 kB / 0.8173 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02804/1.594, allocations: 8.637 MB / 0.8257 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003941/1.598, allocations: 0.6839 MB / 0.8264 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08485/1.683, allocations: 35.41 MB / 0.861 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007742/1.691, allocations: 0.7634 MB / 0.8617 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000922/1.692, allocations: 156 kB / 0.8619 GB, free: 109.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.002218/1.694, allocations: 0.6651 MB / 0.8625 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.695, allocations: 462.2 kB / 0.863 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05634/1.752, allocations: 20.68 MB / 0.8831 GB, free: 88.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.222e-05/1.752, allocations: 47.92 kB / 0.8832 GB, free: 88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.066e-05/1.752, allocations: 28 kB / 0.8832 GB, free: 87.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001321/1.752, allocations: 15.94 kB / 0.8832 GB, free: 87.96 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.06474/1.817, allocations: 25.72 MB / 0.9083 GB, free: 62.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/1.817, allocations: 0 / 0.9083 GB, free: 62.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/1.82, allocations: 395.5 kB / 0.9087 GB, free: 61.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02632/1.846, allocations: 8.684 MB / 0.9172 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001245/1.847, allocations: 71.97 kB / 0.9173 GB, free: 53.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08222/1.929, allocations: 32.69 MB / 0.9492 GB, free: 20.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.93, allocations: 3.938 kB / 0.9492 GB, free: 20.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06863/1.998, allocations: 24.34 MB / 0.973 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002993/2.001, allocations: 0.5648 MB / 0.9735 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00269/2.004, allocations: 68 kB / 0.9736 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007547/2.012, allocations: 0.5035 MB / 0.9741 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004505/2.016, allocations: 0.7685 MB / 0.9748 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001055/2.017, allocations: 107.9 kB / 0.9749 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005601/2.023, allocations: 2.141 MB / 0.977 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/2.023, allocations: 0 / 0.977 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01044/2.033, allocations: 1.825 MB / 0.9788 GB, free: 5.613 MB / 0.5762 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.001542/2.035, allocations: 195.1 kB / 0.979 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03444/2.069, allocations: 10.36 MB / 0.9891 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/2.069, allocations: 3.938 kB / 0.9891 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02449/2.094, allocations: 7.088 MB / 0.996 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008338/2.102, allocations: 390.3 kB / 0.9964 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3261/2.428, allocations: 10.01 MB / 1.006 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/2.43, allocations: 2.455 MB / 1.009 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001863/2.432, allocations: 385.2 kB / 1.009 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008801/2.433, allocations: 230 kB / 1.009 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/2.433, allocations: 0 / 1.009 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1407/2.574, allocations: 83.7 MB / 1.091 GB, free: 128.9 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)