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.001008/0.001008, allocations: 84.38 kB / 15.06 MB, free: 1.09 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: 223.3 MB / 239 MB, free: 5.418 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.001125/0.001125, allocations: 180.5 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.496/0.496, allocations: 91.92 MB / 433.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 8 kB / 0.5042 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3232, allocations: 72.47 MB / 0.5749 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003322/0.3265, allocations: 4.487 MB / 0.5793 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3286, allocations: 1.543 MB / 0.5808 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.3289, allocations: 8.688 kB / 0.5808 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.3292, allocations: 119.3 kB / 0.5809 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.3302, allocations: 0.5106 MB / 0.5814 GB, free: 32.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.3308, allocations: 353.4 kB / 0.5818 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007449/0.3315, allocations: 0.9637 MB / 0.5827 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.3318, allocations: 169.8 kB / 0.5829 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.3322, allocations: 372.3 kB / 0.5832 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.3326, allocations: 488.2 kB / 0.5837 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/0.3327, allocations: 47.31 kB / 0.5838 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.333, allocations: 167.2 kB / 0.5839 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3332, allocations: 168.9 kB / 0.5841 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.3333, allocations: 167.3 kB / 0.5842 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.334, allocations: 0.9425 MB / 0.5852 GB, free: 30.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.334, allocations: 1.188 kB / 0.5852 GB, free: 30.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.334, allocations: 0 / 0.5852 GB, free: 30.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.334, allocations: 2.656 kB / 0.5852 GB, free: 30.65 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.00428/0.3383, allocations: 1.64 MB / 0.5868 GB, free: 29.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3383, allocations: 14.42 kB / 0.5868 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/0.3415, allocations: 0.5169 MB / 0.5873 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007818/0.3423, allocations: 0.6171 MB / 0.5879 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.3424, allocations: 151.3 kB / 0.588 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.3425, allocations: 52.34 kB / 0.5881 GB, free: 29.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.3438, allocations: 0.6948 MB / 0.5888 GB, free: 28.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3439, allocations: 0 / 0.5888 GB, free: 28.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.3439, allocations: 15.78 kB / 0.5888 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3439, allocations: 12.91 kB / 0.5888 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.3452, allocations: 0.6611 MB / 0.5894 GB, free: 28.66 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.004188/0.3494, allocations: 2.685 MB / 0.592 GB, free: 27.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.3613, allocations: 3.771 MB / 0.5957 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009319/0.3623, allocations: 475.6 kB / 0.5962 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.424e-05/0.3624, allocations: 10.59 kB / 0.5962 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3624, allocations: 42.88 kB / 0.5962 GB, free: 26.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.645e-06/0.3624, allocations: 0 / 0.5962 GB, free: 26.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01255/0.375, allocations: 4.227 MB / 0.6004 GB, free: 25.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.375, allocations: 58.09 kB / 0.6004 GB, free: 25.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3761, allocations: 0.7564 MB / 0.6012 GB, free: 24.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.3762, allocations: 39.48 kB / 0.6012 GB, free: 24.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.3764, allocations: 353.4 kB / 0.6015 GB, free: 24.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.3766, allocations: 213.1 kB / 0.6017 GB, free: 24.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.3767, allocations: 20.12 kB / 0.6018 GB, free: 24.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3768, allocations: 393.8 kB / 0.6021 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009842/0.3778, allocations: 0.5282 MB / 0.6026 GB, free: 23.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.3789, allocations: 0.6342 MB / 0.6033 GB, free: 23.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3799, allocations: 0.5719 MB / 0.6038 GB, free: 23.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3799, allocations: 0 / 0.6038 GB, free: 23.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007192/0.3871, allocations: 2.735 MB / 0.6065 GB, free: 22.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3871, allocations: 5.531 kB / 0.6065 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.3871, allocations: 1.688 kB / 0.6065 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004251/0.3914, allocations: 1.213 MB / 0.6077 GB, free: 22.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.3922, allocations: 152 kB / 0.6078 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.4027, allocations: 6.334 MB / 0.614 GB, free: 18.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.4039, allocations: 129.7 kB / 0.6141 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.421e-05/0.404, allocations: 32.86 kB / 0.6142 GB, free: 18.11 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.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003598/0.4044, allocations: 218 kB / 0.6144 GB, free: 17.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4045, allocations: 77.97 kB / 0.6145 GB, free: 17.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006261/0.4108, allocations: 2.291 MB / 0.6167 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.4109, allocations: 5.75 kB / 0.6167 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.4109, allocations: 5.344 kB / 0.6167 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.4109, allocations: 2.672 kB / 0.6167 GB, free: 17.27 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.00749/0.4184, allocations: 3.395 MB / 0.62 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.4184, allocations: 3.984 kB / 0.62 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.4189, allocations: 63.91 kB / 0.6201 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/0.4218, allocations: 1.081 MB / 0.6211 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.4218, allocations: 15.95 kB / 0.6212 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00666/0.4285, allocations: 4.14 MB / 0.6252 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4285, allocations: 0 / 0.6252 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006207/0.4348, allocations: 2.897 MB / 0.628 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.435, allocations: 183.9 kB / 0.6282 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4352, allocations: 12 kB / 0.6282 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/0.4358, allocations: 71.94 kB / 0.6283 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.4361, allocations: 124.5 kB / 0.6284 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.4362, allocations: 8 kB / 0.6284 GB, free: 6.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005648/0.4368, allocations: 0.5224 MB / 0.6289 GB, free: 5.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4368, allocations: 0 / 0.6289 GB, free: 5.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009242/0.4377, allocations: 299.7 kB / 0.6292 GB, free: 5.27 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.4379, allocations: 127.2 kB / 0.6293 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003752/0.4417, allocations: 1.992 MB / 0.6313 GB, free: 3.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4417, allocations: 0 / 0.6313 GB, free: 3.078 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.444, allocations: 1.209 MB / 0.6324 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.4446, allocations: 58.95 kB / 0.6325 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.4468, allocations: 1.811 MB / 0.6343 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.4473, allocations: 0.9537 MB / 0.6352 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.4476, allocations: 69.12 kB / 0.6353 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.4478, allocations: 51.42 kB / 0.6353 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4478, allocations: 0 / 0.6353 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Templates: time 0.02032/0.4681, allocations: 13.23 MB / 0.6482 GB, free: 1.621 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)