Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.33/1.33, allocations: 222.9 MB / 238.8 MB, free: 4.672 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.001503/0.001503, allocations: 184.5 kB / 289.1 MB, free: 2.426 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5408/0.5408, allocations: 91.9 MB / 431.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 83.88 kB / 0.5012 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4745, allocations: 71.25 MB / 0.5708 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.01096/0.4855, allocations: 7.03 MB / 0.5777 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006427/0.492, allocations: 2.058 MB / 0.5797 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.4937, allocations: 15.44 kB / 0.5797 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.4951, allocations: 190.7 kB / 0.5799 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.499, allocations: 0.7315 MB / 0.5806 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.5012, allocations: 0.6031 MB / 0.5812 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.5038, allocations: 1.583 MB / 0.5827 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007629/0.5046, allocations: 290.8 kB / 0.583 GB, free: 29.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.5059, allocations: 0.6147 MB / 0.5836 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.5076, allocations: 0.8261 MB / 0.5844 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005578/0.5082, allocations: 79.66 kB / 0.5845 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.5093, allocations: 208.7 kB / 0.5847 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005738/0.5099, allocations: 291 kB / 0.5849 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.5112, allocations: 0.6508 MB / 0.5856 GB, free: 28.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.5138, allocations: 1.659 MB / 0.5872 GB, free: 27.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5139, allocations: 0 / 0.5872 GB, free: 27.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5139, allocations: 1.062 kB / 0.5872 GB, free: 27.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.325e-05/0.514, allocations: 0 / 0.5872 GB, free: 27.3 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01728/0.5313, allocations: 2.785 MB / 0.5899 GB, free: 26.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.5314, allocations: 11.25 kB / 0.5899 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009864/0.5412, allocations: 0.7837 MB / 0.5907 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.545, allocations: 0.92 MB / 0.5916 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004833/0.5455, allocations: 257.5 kB / 0.5918 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005305/0.546, allocations: 88.59 kB / 0.5919 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/0.5506, allocations: 1.112 MB / 0.593 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.5507, allocations: 0 / 0.593 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.5509, allocations: 34.08 kB / 0.593 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.5509, allocations: 19.03 kB / 0.5931 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004216/0.5552, allocations: 1.006 MB / 0.594 GB, free: 24.19 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.01339/0.5686, allocations: 3.917 MB / 0.5979 GB, free: 21.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.5815, allocations: 2.406 MB / 0.6002 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/0.5839, allocations: 0.6944 MB / 0.6009 GB, free: 20.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.5841, allocations: 21.2 kB / 0.6009 GB, free: 20.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002982/0.5871, allocations: 0.835 MB / 0.6017 GB, free: 20.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 7.254e-06/0.5871, allocations: 0 / 0.6017 GB, free: 20.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.04959/0.6367, allocations: 7.083 MB / 0.6087 GB, free: 19.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.6368, allocations: 118.2 kB / 0.6088 GB, free: 18.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/0.6403, allocations: 1.145 MB / 0.6099 GB, free: 18.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003393/0.6407, allocations: 47.03 kB / 0.6099 GB, free: 18.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005817/0.6413, allocations: 0.4968 MB / 0.6104 GB, free: 18.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007041/0.642, allocations: 363.1 kB / 0.6108 GB, free: 17.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.6433, allocations: 299.7 kB / 0.611 GB, free: 17.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.6434, allocations: 307 kB / 0.6113 GB, free: 17.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/0.6466, allocations: 0.7923 MB / 0.6121 GB, free: 17.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/0.65, allocations: 0.9739 MB / 0.6131 GB, free: 16.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03042/0.6804, allocations: 5.928 MB / 0.6189 GB, free: 13.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.6805, allocations: 0 / 0.6189 GB, free: 13.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.0133/0.6938, allocations: 4.516 MB / 0.6233 GB, free: 8.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.6939, allocations: 63.41 kB / 0.6233 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.6939, allocations: 4 kB / 0.6233 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005575/0.6995, allocations: 1.658 MB / 0.6249 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.701, allocations: 299.5 kB / 0.6252 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01768/0.7187, allocations: 7.951 MB / 0.633 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.721, allocations: 210.6 kB / 0.6332 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.7213, allocations: 59.97 kB / 0.6333 GB, free: 14.12 MB / 446.1 MB 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 order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008415/0.7222, allocations: 304.1 kB / 0.6335 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004449/0.7226, allocations: 126.4 kB / 0.6337 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.7354, allocations: 3.92 MB / 0.6375 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.7355, allocations: 8 kB / 0.6375 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/0.7355, allocations: 11.94 kB / 0.6375 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.7355, allocations: 7.969 kB / 0.6375 GB, free: 9.707 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01598/0.7515, allocations: 5.548 MB / 0.6429 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.7515, allocations: 4 kB / 0.6429 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/0.7523, allocations: 103.8 kB / 0.643 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005613/0.7579, allocations: 1.607 MB / 0.6446 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/0.7582, allocations: 24 kB / 0.6446 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/0.7781, allocations: 8.777 MB / 0.6532 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7781, allocations: 0 / 0.6532 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/0.7931, allocations: 4.799 MB / 0.6579 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005855/0.7937, allocations: 231.2 kB / 0.6581 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/0.7942, allocations: 20 kB / 0.6581 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.7957, allocations: 111.9 kB / 0.6582 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006532/0.7964, allocations: 196.7 kB / 0.6584 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.7965, allocations: 27.98 kB / 0.6585 GB, free: 3.816 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001417/0.7979, allocations: 0.7673 MB / 0.6592 GB, free: 3.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7979, allocations: 0 / 0.6592 GB, free: 3.043 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00171/0.7996, allocations: 495.5 kB / 0.6597 GB, free: 2.559 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003176/0.8, allocations: 143.1 kB / 0.6598 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006985/0.8069, allocations: 2.62 MB / 0.6624 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.807, allocations: 0 / 0.6624 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004312/0.8113, allocations: 1.623 MB / 0.664 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.8125, allocations: 114.6 kB / 0.6641 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/0.8174, allocations: 2.877 MB / 0.6669 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/0.8182, allocations: 1.136 MB / 0.668 GB, free: 9.914 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005383/0.8187, allocations: 120.3 kB / 0.6681 GB, free: 9.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.8191, allocations: 75.42 kB / 0.6682 GB, free: 9.719 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/0.8191, allocations: 0 / 0.6682 GB, free: 9.719 MB / 478.1 MB Notification: Performance of Templates: time 0.0414/0.8605, allocations: 22.41 MB / 0.6901 GB, free: 3.352 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)