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.001183/0.001183, allocations: 101.6 kB / 16.35 MB, free: 5.828 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.294/1.294, allocations: 222.9 MB / 240 MB, free: 4.473 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.001343/0.001343, allocations: 188.5 kB / 290.3 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5238/0.5238, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 75.88 kB / 0.5033 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3625, allocations: 71.26 MB / 0.5729 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005698/0.3682, allocations: 6.727 MB / 0.5794 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003727/0.372, allocations: 2.013 MB / 0.5814 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006772/0.3727, allocations: 10.31 kB / 0.5814 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.3734, allocations: 247.9 kB / 0.5816 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.3752, allocations: 0.8299 MB / 0.5825 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3763, allocations: 0.6351 MB / 0.5831 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.3775, allocations: 1.676 MB / 0.5847 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.3779, allocations: 325.9 kB / 0.585 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.3784, allocations: 0.6864 MB / 0.5857 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006626/0.3791, allocations: 0.8658 MB / 0.5865 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.3793, allocations: 132.3 kB / 0.5867 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.3797, allocations: 272.9 kB / 0.5869 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.3799, allocations: 355.2 kB / 0.5873 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004077/0.3803, allocations: 0.6974 MB / 0.5879 GB, free: 28.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.3816, allocations: 1.74 MB / 0.5896 GB, free: 27.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3816, allocations: 0 / 0.5896 GB, free: 27.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3816, allocations: 0 / 0.5896 GB, free: 27.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3816, allocations: 0 / 0.5896 GB, free: 27.28 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.008091/0.3897, allocations: 2.777 MB / 0.5924 GB, free: 25.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3897, allocations: 9.719 kB / 0.5924 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/0.3945, allocations: 0.78 MB / 0.5931 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.3959, allocations: 0.9242 MB / 0.594 GB, free: 25.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.3961, allocations: 257.2 kB / 0.5943 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.3963, allocations: 88.22 kB / 0.5944 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.3982, allocations: 1.113 MB / 0.5954 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3982, allocations: 3.984 kB / 0.5955 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-05/0.3983, allocations: 30.66 kB / 0.5955 GB, free: 24.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.3983, allocations: 17.84 kB / 0.5955 GB, free: 24.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.4002, allocations: 1.003 MB / 0.5965 GB, free: 24.17 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.006034/0.4062, allocations: 3.896 MB / 0.6003 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00696/0.4132, allocations: 2.41 MB / 0.6026 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.4145, allocations: 0.6959 MB / 0.6033 GB, free: 20.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.4146, allocations: 16.56 kB / 0.6033 GB, free: 20.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001548/0.4161, allocations: 0.8389 MB / 0.6041 GB, free: 20.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.726e-06/0.4162, allocations: 0 / 0.6041 GB, free: 20.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02703/0.4432, allocations: 7.084 MB / 0.6111 GB, free: 19.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.4433, allocations: 118.3 kB / 0.6112 GB, free: 18.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.4451, allocations: 1.143 MB / 0.6123 GB, free: 18.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002329/0.4453, allocations: 46.89 kB / 0.6123 GB, free: 18.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.4456, allocations: 0.4995 MB / 0.6128 GB, free: 17.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.4459, allocations: 367.3 kB / 0.6132 GB, free: 17.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004963/0.4464, allocations: 301.9 kB / 0.6135 GB, free: 17.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.4464, allocations: 301.1 kB / 0.6138 GB, free: 17.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.4479, allocations: 0.7944 MB / 0.6145 GB, free: 16.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.4495, allocations: 0.9742 MB / 0.6155 GB, free: 16.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0229/0.4724, allocations: 5.926 MB / 0.6213 GB, free: 12.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.4725, allocations: 8 kB / 0.6213 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01177/0.4842, allocations: 4.512 MB / 0.6257 GB, free: 7.777 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.4843, allocations: 63.39 kB / 0.6257 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4843, allocations: 4 kB / 0.6257 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00526/0.4896, allocations: 1.662 MB / 0.6274 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.491, allocations: 295.5 kB / 0.6277 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/0.5085, allocations: 8.622 MB / 0.6361 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.5108, allocations: 206.5 kB / 0.6363 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.511, allocations: 59.97 kB / 0.6363 GB, free: 12.7 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.0006503/0.5116, allocations: 296.3 kB / 0.6366 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.5119, allocations: 126.4 kB / 0.6367 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.5239, allocations: 3.924 MB / 0.6406 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/0.524, allocations: 12 kB / 0.6406 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.524, allocations: 8 kB / 0.6406 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-05/0.5241, allocations: 7.969 kB / 0.6406 GB, free: 8.293 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.01646/0.5405, allocations: 5.546 MB / 0.646 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.5406, allocations: 4.031 kB / 0.646 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.5414, allocations: 111.8 kB / 0.6461 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005125/0.5465, allocations: 1.595 MB / 0.6477 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/0.5468, allocations: 24 kB / 0.6477 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/0.5653, allocations: 9.615 MB / 0.6571 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5653, allocations: 0 / 0.6571 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.5789, allocations: 4.813 MB / 0.6618 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/0.5796, allocations: 231.2 kB / 0.662 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.5798, allocations: 27.94 kB / 0.662 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.5809, allocations: 104 kB / 0.6621 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005729/0.5815, allocations: 204.7 kB / 0.6623 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/0.5816, allocations: 27.98 kB / 0.6624 GB, free: 1.539 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.5827, allocations: 0.7673 MB / 0.6631 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5827, allocations: 0 / 0.6631 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001444/0.5841, allocations: 491.5 kB / 0.6636 GB, free: 292 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.000279/0.5844, allocations: 147.3 kB / 0.6637 GB, free: 136 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006288/0.5907, allocations: 2.62 MB / 0.6663 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5907, allocations: 0 / 0.6663 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004005/0.5947, allocations: 1.616 MB / 0.6678 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.5959, allocations: 116.5 kB / 0.668 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.6, allocations: 2.421 MB / 0.6703 GB, free: 9.254 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.6007, allocations: 1.136 MB / 0.6714 GB, free: 8.086 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.6012, allocations: 124.3 kB / 0.6716 GB, free: 7.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.6015, allocations: 75.42 kB / 0.6716 GB, free: 7.887 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6015, allocations: 0 / 0.6716 GB, free: 7.887 MB / 478.1 MB Notification: Performance of Templates: time 0.03637/0.6378, allocations: 24.48 MB / 0.6955 GB, free: 15.44 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 cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)