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.001161/0.001162, allocations: 114.5 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.333/1.333, allocations: 222.9 MB / 240 MB, free: 4.395 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.001315/0.001315, allocations: 188.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5218/0.5218, allocations: 91.91 MB / 432.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 83.88 kB / 0.5033 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3845, allocations: 71.27 MB / 0.5729 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006026/0.3906, allocations: 6.718 MB / 0.5794 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.3942, allocations: 2.015 MB / 0.5814 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.3947, allocations: 8.406 kB / 0.5814 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.3954, allocations: 243.8 kB / 0.5817 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.397, allocations: 0.8263 MB / 0.5825 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3981, allocations: 0.6458 MB / 0.5831 GB, free: 30.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.3993, allocations: 1.672 MB / 0.5847 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.3997, allocations: 334.7 kB / 0.585 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.4003, allocations: 0.6857 MB / 0.5857 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006797/0.401, allocations: 0.8732 MB / 0.5866 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.4011, allocations: 130.8 kB / 0.5867 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.4016, allocations: 273.5 kB / 0.5869 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.4018, allocations: 350 kB / 0.5873 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.4023, allocations: 0.6969 MB / 0.588 GB, free: 28.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.4036, allocations: 1.731 MB / 0.5897 GB, free: 27.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4036, allocations: 0 / 0.5897 GB, free: 27.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4036, allocations: 1.125 kB / 0.5897 GB, free: 27.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.4036, allocations: 3.938 kB / 0.5897 GB, free: 27.33 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.008394/0.412, allocations: 2.78 MB / 0.5924 GB, free: 26.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4121, allocations: 9.406 kB / 0.5924 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/0.4169, allocations: 0.7788 MB / 0.5931 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.4183, allocations: 0.923 MB / 0.594 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.4186, allocations: 262.9 kB / 0.5943 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.4187, allocations: 87.12 kB / 0.5944 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.4207, allocations: 1.108 MB / 0.5955 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.4207, allocations: 0 / 0.5955 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.4208, allocations: 30.56 kB / 0.5955 GB, free: 24.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.4208, allocations: 18.5 kB / 0.5955 GB, free: 24.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.4228, allocations: 1.009 MB / 0.5965 GB, free: 24.22 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.006255/0.429, allocations: 3.89 MB / 0.6003 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007085/0.4361, allocations: 2.414 MB / 0.6026 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.4375, allocations: 0.6918 MB / 0.6033 GB, free: 20.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.4376, allocations: 24.92 kB / 0.6033 GB, free: 20.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.4393, allocations: 0.8309 MB / 0.6042 GB, free: 20.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.596e-06/0.4393, allocations: 3.984 kB / 0.6042 GB, free: 20.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02734/0.4666, allocations: 7.09 MB / 0.6111 GB, free: 19.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.4667, allocations: 115.2 kB / 0.6112 GB, free: 18.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.4685, allocations: 1.145 MB / 0.6123 GB, free: 18.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.4688, allocations: 46.05 kB / 0.6124 GB, free: 18.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.4691, allocations: 0.5008 MB / 0.6128 GB, free: 17.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.4694, allocations: 365.7 kB / 0.6132 GB, free: 17.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.4699, allocations: 297.8 kB / 0.6135 GB, free: 17.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.4699, allocations: 302.4 kB / 0.6138 GB, free: 17.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.4714, allocations: 0.7942 MB / 0.6145 GB, free: 16.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4731, allocations: 0.979 MB / 0.6155 GB, free: 16.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0229/0.496, allocations: 5.921 MB / 0.6213 GB, free: 12.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.496, allocations: 0 / 0.6213 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01204/0.5081, allocations: 4.512 MB / 0.6257 GB, free: 7.797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.5082, allocations: 61.28 kB / 0.6257 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5082, allocations: 4 kB / 0.6258 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005308/0.5135, allocations: 1.662 MB / 0.6274 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.5149, allocations: 303.6 kB / 0.6277 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/0.5329, allocations: 8.609 MB / 0.6361 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/0.5352, allocations: 218.5 kB / 0.6363 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/0.5355, allocations: 51.98 kB / 0.6363 GB, free: 12.73 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.0008797/0.5364, allocations: 299.1 kB / 0.6366 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/0.5369, allocations: 138.4 kB / 0.6367 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.5491, allocations: 3.92 MB / 0.6406 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.5492, allocations: 12 kB / 0.6406 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.5492, allocations: 8 kB / 0.6406 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.5492, allocations: 3.984 kB / 0.6406 GB, free: 8.316 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.01426/0.5635, allocations: 5.55 MB / 0.646 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5635, allocations: 0 / 0.646 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006752/0.5642, allocations: 107.8 kB / 0.6461 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005156/0.5694, allocations: 1.591 MB / 0.6477 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.5695, allocations: 23.98 kB / 0.6477 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.5889, allocations: 9.623 MB / 0.6571 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5889, allocations: 3.938 kB / 0.6571 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/0.6028, allocations: 4.813 MB / 0.6618 GB, free: 2.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/0.6034, allocations: 231.2 kB / 0.662 GB, free: 1.914 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/0.6038, allocations: 19.94 kB / 0.662 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.6052, allocations: 115.9 kB / 0.6621 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005683/0.6058, allocations: 196.7 kB / 0.6623 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.6059, allocations: 24 kB / 0.6624 GB, free: 1.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001301/0.6072, allocations: 0.7673 MB / 0.6631 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6072, allocations: 3.938 kB / 0.6631 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001578/0.6088, allocations: 495.5 kB / 0.6636 GB, free: 308 kB / 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.0003226/0.6091, allocations: 135.3 kB / 0.6637 GB, free: 164 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006458/0.6156, allocations: 2.624 MB / 0.6663 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6156, allocations: 0 / 0.6663 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00403/0.6197, allocations: 1.619 MB / 0.6679 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/0.6207, allocations: 115.5 kB / 0.668 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.6252, allocations: 2.425 MB / 0.6703 GB, free: 9.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/0.6259, allocations: 1.132 MB / 0.6714 GB, free: 8.109 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004395/0.6264, allocations: 124.3 kB / 0.6716 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.6267, allocations: 87.41 kB / 0.6716 GB, free: 7.898 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6267, allocations: 0 / 0.6716 GB, free: 7.898 MB / 478.1 MB Notification: Performance of Templates: time 0.03978/0.6665, allocations: 24.48 MB / 0.6955 GB, free: 15.46 MB / 0.4981 GB 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)