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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.399/1.399, allocations: 222.9 MB / 238.8 MB, free: 4.75 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.001484/0.001485, allocations: 200.4 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5448/0.5448, allocations: 91.89 MB / 431.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 71.88 kB / 0.5012 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4532, allocations: 71.27 MB / 0.5708 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005328/0.4586, allocations: 5.19 MB / 0.5759 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.4621, allocations: 1.649 MB / 0.5775 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.4627, allocations: 12.22 kB / 0.5775 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.4632, allocations: 118.4 kB / 0.5776 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.4646, allocations: 0.5782 MB / 0.5782 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007777/0.4654, allocations: 390.2 kB / 0.5785 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009007/0.4663, allocations: 1.018 MB / 0.5795 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.4667, allocations: 191.3 kB / 0.5797 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/0.4671, allocations: 398.5 kB / 0.5801 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004703/0.4676, allocations: 0.5117 MB / 0.5806 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.827e-05/0.4677, allocations: 53.91 kB / 0.5806 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.4681, allocations: 179.5 kB / 0.5808 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.4682, allocations: 184.8 kB / 0.581 GB, free: 31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.4685, allocations: 430.7 kB / 0.5814 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009256/0.4695, allocations: 1.217 MB / 0.5826 GB, free: 30.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4695, allocations: 1.594 kB / 0.5826 GB, free: 30.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4695, allocations: 0 / 0.5826 GB, free: 30.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4695, allocations: 0 / 0.5826 GB, free: 30.21 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.005171/0.4747, allocations: 1.756 MB / 0.5843 GB, free: 29.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.4748, allocations: 10.38 kB / 0.5843 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.478, allocations: 0.5187 MB / 0.5848 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.479, allocations: 0.6491 MB / 0.5855 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.4791, allocations: 146 kB / 0.5856 GB, free: 28.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.4793, allocations: 53.16 kB / 0.5856 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.4807, allocations: 0.6619 MB / 0.5863 GB, free: 28.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4807, allocations: 0 / 0.5863 GB, free: 28.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-05/0.4808, allocations: 21.03 kB / 0.5863 GB, free: 28.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.4808, allocations: 11.22 kB / 0.5863 GB, free: 28.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.4821, allocations: 0.6359 MB / 0.5869 GB, free: 28.09 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.004423/0.4865, allocations: 2.633 MB / 0.5895 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.4985, allocations: 2.811 MB / 0.5923 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.4996, allocations: 450.7 kB / 0.5927 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.83e-05/0.4997, allocations: 8.297 kB / 0.5927 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.4997, allocations: 41.38 kB / 0.5927 GB, free: 25.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.326e-06/0.4997, allocations: 0 / 0.5927 GB, free: 25.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01279/0.5125, allocations: 3.531 MB / 0.5962 GB, free: 24.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.5126, allocations: 58.25 kB / 0.5962 GB, free: 24.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.514, allocations: 0.7614 MB / 0.597 GB, free: 24.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.5141, allocations: 35.58 kB / 0.597 GB, free: 24.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.5143, allocations: 360 kB / 0.5974 GB, free: 24.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.5146, allocations: 207.8 kB / 0.5976 GB, free: 23.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003498/0.5149, allocations: 171 kB / 0.5977 GB, free: 23.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5151, allocations: 396 kB / 0.5981 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5161, allocations: 0.4932 MB / 0.5986 GB, free: 23.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.5172, allocations: 0.5953 MB / 0.5992 GB, free: 22.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01602/0.5333, allocations: 3.552 MB / 0.6026 GB, free: 21.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.5333, allocations: 0 / 0.6026 GB, free: 21.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007676/0.541, allocations: 2.401 MB / 0.605 GB, free: 21.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.5411, allocations: 6.438 kB / 0.605 GB, free: 21.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5411, allocations: 1.469 kB / 0.605 GB, free: 21.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004356/0.5454, allocations: 1.047 MB / 0.606 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009294/0.5464, allocations: 150.8 kB / 0.6061 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.5566, allocations: 4.7 MB / 0.6107 GB, free: 18.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.5582, allocations: 112.7 kB / 0.6108 GB, free: 18.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.881e-05/0.5584, allocations: 33.75 kB / 0.6109 GB, free: 18.31 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.0004914/0.5589, allocations: 222.6 kB / 0.6111 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.559, allocations: 77.03 kB / 0.6112 GB, free: 18.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006202/0.5652, allocations: 1.944 MB / 0.6131 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5653, allocations: 6.266 kB / 0.6131 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.5653, allocations: 4.312 kB / 0.6131 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.5653, allocations: 3.188 kB / 0.6131 GB, free: 17.5 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.007137/0.5725, allocations: 3.047 MB / 0.616 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.5725, allocations: 0 / 0.616 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.573, allocations: 68.47 kB / 0.6161 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003009/0.576, allocations: 0.9363 MB / 0.617 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.5761, allocations: 12 kB / 0.617 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006465/0.5826, allocations: 3.78 MB / 0.6207 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5826, allocations: 0 / 0.6207 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00614/0.5887, allocations: 2.518 MB / 0.6232 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.5891, allocations: 176 kB / 0.6234 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.5892, allocations: 12 kB / 0.6234 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/0.59, allocations: 55.94 kB / 0.6234 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.5903, allocations: 116.3 kB / 0.6235 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.5904, allocations: 16.12 kB / 0.6235 GB, free: 7.988 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005827/0.591, allocations: 0.5225 MB / 0.6241 GB, free: 7.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.591, allocations: 0 / 0.6241 GB, free: 7.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001009/0.592, allocations: 299.7 kB / 0.6243 GB, free: 7.176 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.0002187/0.5922, allocations: 119.2 kB / 0.6245 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003834/0.5961, allocations: 1.735 MB / 0.6262 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5961, allocations: 0 / 0.6262 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00234/0.5984, allocations: 1.088 MB / 0.6272 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.5992, allocations: 51 kB / 0.6273 GB, free: 4.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.6015, allocations: 1.783 MB / 0.629 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.6018, allocations: 0.9498 MB / 0.6299 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.6021, allocations: 65.14 kB / 0.63 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.6022, allocations: 55.36 kB / 0.63 GB, free: 1.164 MB / 430.1 MB Notification: Performance of SimCode: time 1.143e-06/0.6022, allocations: 0 / 0.63 GB, free: 1.164 MB / 430.1 MB Notification: Performance of Templates: time 0.0211/0.6233, allocations: 13.21 MB / 0.6429 GB, free: 3.984 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)