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.001348/0.001348, allocations: 106.2 kB / 16.36 MB, free: 6.34 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.34/1.34, allocations: 222.9 MB / 240 MB, free: 4.582 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.001453/0.001453, allocations: 191.7 kB / 290.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5086/0.5086, allocations: 91.91 MB / 432.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 79.86 kB / 0.5033 GB, free: 7.023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3319, allocations: 71.27 MB / 0.5729 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005208/0.3371, allocations: 4.904 MB / 0.5777 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.3404, allocations: 1.616 MB / 0.5792 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.3407, allocations: 5.656 kB / 0.5792 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.3412, allocations: 160.9 kB / 0.5794 GB, free: 33.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.3426, allocations: 0.6405 MB / 0.58 GB, free: 32.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007318/0.3433, allocations: 414.1 kB / 0.5804 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008544/0.3442, allocations: 1.083 MB / 0.5815 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.3445, allocations: 224.8 kB / 0.5817 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.3449, allocations: 450.6 kB / 0.5821 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.3454, allocations: 0.5558 MB / 0.5827 GB, free: 31.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3455, allocations: 98.25 kB / 0.5828 GB, free: 31.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.3459, allocations: 237.4 kB / 0.583 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.3461, allocations: 227.9 kB / 0.5832 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.3464, allocations: 477.5 kB / 0.5837 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009276/0.3473, allocations: 1.26 MB / 0.5849 GB, free: 30.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3473, allocations: 0 / 0.5849 GB, free: 30.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3473, allocations: 0 / 0.5849 GB, free: 30.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.3473, allocations: 0.625 kB / 0.5849 GB, free: 30.3 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.004601/0.3519, allocations: 1.754 MB / 0.5866 GB, free: 29.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.352, allocations: 9.75 kB / 0.5866 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/0.3552, allocations: 0.5248 MB / 0.5871 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008367/0.356, allocations: 0.652 MB / 0.5878 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.3562, allocations: 142.2 kB / 0.5879 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3563, allocations: 53.75 kB / 0.5879 GB, free: 28.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.3575, allocations: 0.6557 MB / 0.5886 GB, free: 28.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3576, allocations: 0 / 0.5886 GB, free: 28.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.3576, allocations: 16.62 kB / 0.5886 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.3576, allocations: 15.38 kB / 0.5886 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.3588, allocations: 0.6331 MB / 0.5892 GB, free: 28.19 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.003896/0.3627, allocations: 2.618 MB / 0.5918 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.374, allocations: 2.811 MB / 0.5945 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009572/0.375, allocations: 442.7 kB / 0.595 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.782e-05/0.3751, allocations: 14.62 kB / 0.595 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.3751, allocations: 39.14 kB / 0.595 GB, free: 25.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.675e-06/0.3751, allocations: 0 / 0.595 GB, free: 25.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01203/0.3871, allocations: 3.532 MB / 0.5985 GB, free: 24.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.3872, allocations: 57.81 kB / 0.5985 GB, free: 24.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.3883, allocations: 0.7617 MB / 0.5993 GB, free: 24.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/0.3884, allocations: 40.39 kB / 0.5993 GB, free: 24.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.3887, allocations: 350.4 kB / 0.5996 GB, free: 24.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.3888, allocations: 215.9 kB / 0.5998 GB, free: 24.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.3892, allocations: 167 kB / 0.6 GB, free: 23.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3893, allocations: 400.5 kB / 0.6004 GB, free: 23.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009759/0.3903, allocations: 0.497 MB / 0.6009 GB, free: 23.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.3913, allocations: 0.5911 MB / 0.6014 GB, free: 23.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01496/0.4063, allocations: 3.56 MB / 0.6049 GB, free: 22.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.4063, allocations: 0.7969 kB / 0.6049 GB, free: 22.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006915/0.4132, allocations: 2.393 MB / 0.6073 GB, free: 21.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4133, allocations: 5.906 kB / 0.6073 GB, free: 21.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4133, allocations: 2.656 kB / 0.6073 GB, free: 21.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004019/0.4173, allocations: 1.046 MB / 0.6083 GB, free: 21.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.4182, allocations: 152.2 kB / 0.6084 GB, free: 21.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00991/0.4281, allocations: 5.074 MB / 0.6134 GB, free: 18.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.4294, allocations: 108.9 kB / 0.6135 GB, free: 18.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.4295, allocations: 32.3 kB / 0.6135 GB, free: 18.2 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.0004586/0.4299, allocations: 208 kB / 0.6137 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.4301, allocations: 86.48 kB / 0.6138 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/0.4355, allocations: 1.945 MB / 0.6157 GB, free: 17.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4355, allocations: 9.703 kB / 0.6157 GB, free: 17.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4355, allocations: 7.312 kB / 0.6157 GB, free: 17.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.4355, allocations: 5.266 kB / 0.6157 GB, free: 17.06 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.006292/0.4418, allocations: 3.043 MB / 0.6187 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4419, allocations: 3.938 kB / 0.6187 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.4423, allocations: 59.91 kB / 0.6188 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002727/0.445, allocations: 0.9328 MB / 0.6197 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-05/0.4451, allocations: 12 kB / 0.6197 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006689/0.4518, allocations: 4.109 MB / 0.6237 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4518, allocations: 0 / 0.6237 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005714/0.4575, allocations: 2.519 MB / 0.6261 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.4579, allocations: 179.9 kB / 0.6263 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.458, allocations: 8 kB / 0.6263 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.4588, allocations: 55.94 kB / 0.6264 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.4591, allocations: 124.4 kB / 0.6265 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.4591, allocations: 16.12 kB / 0.6265 GB, free: 6.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005777/0.4597, allocations: 0.5186 MB / 0.627 GB, free: 6.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4597, allocations: 0 / 0.627 GB, free: 6.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000912/0.4606, allocations: 299.7 kB / 0.6273 GB, free: 5.953 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.0002165/0.4609, allocations: 123.2 kB / 0.6274 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003695/0.4646, allocations: 1.742 MB / 0.6291 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4646, allocations: 0 / 0.6291 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.4668, allocations: 1.084 MB / 0.6302 GB, free: 2.879 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.4673, allocations: 62.94 kB / 0.6302 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.4697, allocations: 1.497 MB / 0.6317 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.47, allocations: 0.946 MB / 0.6326 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.4703, allocations: 69.12 kB / 0.6327 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.4705, allocations: 51.42 kB / 0.6327 GB, free: 212 kB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4705, allocations: 0 / 0.6327 GB, free: 212 kB / 430.1 MB Notification: Performance of Templates: time 0.022/0.4925, allocations: 14.34 MB / 0.6467 GB, free: 1.91 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 gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)