Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 105.6 kB / 16.37 MB, free: 6.477 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.263/1.263, allocations: 222.9 MB / 240 MB, free: 4.379 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.001197/0.001197, allocations: 195.4 kB / 290.3 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4898/0.4898, allocations: 91.9 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 71.88 kB / 0.5033 GB, free: 7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3536, allocations: 71.27 MB / 0.5729 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.0044/0.358, allocations: 4.91 MB / 0.5777 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.3602, allocations: 1.605 MB / 0.5792 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.3605, allocations: 5.5 kB / 0.5792 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.3608, allocations: 162 kB / 0.5794 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.362, allocations: 0.6508 MB / 0.58 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.3627, allocations: 426 kB / 0.5804 GB, free: 32.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007168/0.3634, allocations: 1.076 MB / 0.5815 GB, free: 31.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.3637, allocations: 222.4 kB / 0.5817 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.364, allocations: 448.6 kB / 0.5821 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.3645, allocations: 0.5523 MB / 0.5827 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3646, allocations: 97.31 kB / 0.5828 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.3649, allocations: 236 kB / 0.583 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.365, allocations: 228.1 kB / 0.5832 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.3653, allocations: 480.1 kB / 0.5837 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008101/0.3661, allocations: 1.258 MB / 0.5849 GB, free: 30.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3662, allocations: 3.719 kB / 0.5849 GB, free: 30.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3662, allocations: 0 / 0.5849 GB, free: 30.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3662, allocations: 5.562 kB / 0.5849 GB, free: 30.11 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00441/0.3706, allocations: 1.748 MB / 0.5866 GB, free: 29.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3707, allocations: 9.844 kB / 0.5866 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.3737, allocations: 0.5234 MB / 0.5871 GB, free: 29.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/0.3745, allocations: 0.6474 MB / 0.5878 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.3747, allocations: 142 kB / 0.5879 GB, free: 28.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3748, allocations: 50 kB / 0.5879 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.376, allocations: 0.6598 MB / 0.5886 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.376, allocations: 0 / 0.5886 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.3761, allocations: 20.56 kB / 0.5886 GB, free: 28.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.3761, allocations: 11.5 kB / 0.5886 GB, free: 28.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.3772, allocations: 0.6364 MB / 0.5892 GB, free: 27.99 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.003728/0.3809, allocations: 2.614 MB / 0.5918 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.3917, allocations: 2.817 MB / 0.5945 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009342/0.3926, allocations: 446.3 kB / 0.595 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.574e-05/0.3927, allocations: 10.78 kB / 0.595 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3928, allocations: 39.55 kB / 0.595 GB, free: 25.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.114e-06/0.3928, allocations: 0 / 0.595 GB, free: 25.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01207/0.4049, allocations: 3.526 MB / 0.5985 GB, free: 24.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.4049, allocations: 58.53 kB / 0.5985 GB, free: 24.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.4061, allocations: 0.7731 MB / 0.5993 GB, free: 24.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.4062, allocations: 35.92 kB / 0.5993 GB, free: 24.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.4064, allocations: 356.5 kB / 0.5996 GB, free: 23.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.4067, allocations: 212 kB / 0.5999 GB, free: 23.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.407, allocations: 166.1 kB / 0.6 GB, free: 23.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4071, allocations: 396.2 kB / 0.6004 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009518/0.4081, allocations: 0.4965 MB / 0.6009 GB, free: 23.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.4091, allocations: 0.595 MB / 0.6015 GB, free: 22.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/0.4237, allocations: 3.56 MB / 0.6049 GB, free: 21.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.4238, allocations: 1.25 kB / 0.6049 GB, free: 21.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006838/0.4306, allocations: 2.388 MB / 0.6073 GB, free: 21.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4307, allocations: 5.75 kB / 0.6073 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.4307, allocations: 3.219 kB / 0.6073 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/0.4346, allocations: 1.05 MB / 0.6083 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.4354, allocations: 146.4 kB / 0.6084 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009537/0.445, allocations: 5.067 MB / 0.6134 GB, free: 18.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.4463, allocations: 113.1 kB / 0.6135 GB, free: 18.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.4464, allocations: 32.56 kB / 0.6135 GB, free: 18 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004812/0.4469, allocations: 216.5 kB / 0.6137 GB, free: 17.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.4471, allocations: 89.34 kB / 0.6138 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005464/0.4526, allocations: 1.941 MB / 0.6157 GB, free: 16.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.4526, allocations: 9.625 kB / 0.6157 GB, free: 16.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.4526, allocations: 8.531 kB / 0.6157 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4526, allocations: 7.969 kB / 0.6157 GB, free: 16.93 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 postOpt removeSimpleEquations (simulation): time 0.006266/0.4589, allocations: 3.041 MB / 0.6187 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4589, allocations: 3.938 kB / 0.6187 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.4593, allocations: 66.34 kB / 0.6188 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002657/0.462, allocations: 0.937 MB / 0.6197 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.4621, allocations: 12 kB / 0.6197 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006385/0.4685, allocations: 4.105 MB / 0.6237 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4685, allocations: 4 kB / 0.6237 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005574/0.4741, allocations: 2.515 MB / 0.6262 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.4744, allocations: 183.9 kB / 0.6263 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.4745, allocations: 16 kB / 0.6264 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/0.4753, allocations: 51.94 kB / 0.6264 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.4755, allocations: 112.4 kB / 0.6265 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.4756, allocations: 19.98 kB / 0.6265 GB, free: 6.727 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005418/0.4761, allocations: 0.5186 MB / 0.627 GB, free: 6.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4761, allocations: 0 / 0.627 GB, free: 6.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000869/0.477, allocations: 299.7 kB / 0.6273 GB, free: 5.922 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.4772, allocations: 121.6 kB / 0.6274 GB, free: 5.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003653/0.4809, allocations: 1.746 MB / 0.6291 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4809, allocations: 448 / 0.6291 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002211/0.4831, allocations: 1.076 MB / 0.6302 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.4837, allocations: 64.19 kB / 0.6303 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.4859, allocations: 1.502 MB / 0.6317 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4862, allocations: 0.9459 MB / 0.6326 GB, free: 300 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.4864, allocations: 65.14 kB / 0.6327 GB, free: 236 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.4866, allocations: 51.42 kB / 0.6328 GB, free: 184 kB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4866, allocations: 192 / 0.6328 GB, free: 184 kB / 430.1 MB Notification: Performance of Templates: time 0.02139/0.508, allocations: 14.32 MB / 0.6468 GB, free: 1.883 MB / 446.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)