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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.003998/0.003998, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008089, allocations: 98.48 kB / 290.2 MB, free: 4.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4173/0.4173, allocations: 79.43 MB / 420.8 MB, free: 36.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 12 kB / 0.489 GB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1051, allocations: 69.52 MB / 0.5569 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2967/0.4018, allocations: 97.96 MB / 0.6526 GB, free: 3.273 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.402, allocations: 79.91 kB / 0.6527 GB, free: 3.195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04893/0.451, allocations: 20.78 MB / 0.673 GB, free: 14.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.451, allocations: 0.8438 kB / 0.673 GB, free: 14.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.821e-05/0.451, allocations: 16 kB / 0.673 GB, free: 14.46 MB / 474.7 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.002906/0.4539, allocations: 1.397 MB / 0.6743 GB, free: 13.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.454, allocations: 8.031 kB / 0.6743 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.4559, allocations: 378.5 kB / 0.6747 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006985/0.4566, allocations: 0.5657 MB / 0.6753 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.4568, allocations: 138.1 kB / 0.6754 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/0.4569, allocations: 52.34 kB / 0.6754 GB, free: 11.83 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.4581, allocations: 0.6896 MB / 0.6761 GB, free: 11.13 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4581, allocations: 1.781 kB / 0.6761 GB, free: 11.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.4582, allocations: 24 kB / 0.6761 GB, free: 11.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4582, allocations: 12 kB / 0.6761 GB, free: 11.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.4593, allocations: 0.6637 MB / 0.6768 GB, free: 10.43 MB / 474.7 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.003844/0.4632, allocations: 2.619 MB / 0.6794 GB, free: 7.703 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.4755, allocations: 3.753 MB / 0.683 GB, free: 3.902 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.514e-05/0.4756, allocations: 12.55 kB / 0.683 GB, free: 3.891 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.4756, allocations: 42 kB / 0.6831 GB, free: 3.844 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.284e-06/0.4756, allocations: 0 / 0.6831 GB, free: 3.844 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.0125/0.4881, allocations: 4.322 MB / 0.6873 GB, free: 15.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.4882, allocations: 63.91 kB / 0.6874 GB, free: 15.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/0.489, allocations: 0.6562 MB / 0.688 GB, free: 14.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.489, allocations: 33.7 kB / 0.688 GB, free: 14.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.4893, allocations: 372.7 kB / 0.6884 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.4894, allocations: 205 kB / 0.6886 GB, free: 14.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.4895, allocations: 12 kB / 0.6886 GB, free: 14.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.4896, allocations: 326 kB / 0.6889 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.4903, allocations: 425.1 kB / 0.6893 GB, free: 13.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.4911, allocations: 0.49 MB / 0.6898 GB, free: 12.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007769/0.4919, allocations: 456.4 kB / 0.6902 GB, free: 12.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4919, allocations: 0 / 0.6902 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006321/0.4982, allocations: 2.402 MB / 0.6926 GB, free: 9.965 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4982, allocations: 7.938 kB / 0.6926 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4983, allocations: 4 kB / 0.6926 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/0.5023, allocations: 1.205 MB / 0.6938 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.5027, allocations: 83.91 kB / 0.6938 GB, free: 8.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.513, allocations: 6.517 MB / 0.7002 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/0.5139, allocations: 111.4 kB / 0.7003 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.514, allocations: 27.98 kB / 0.7003 GB, free: 1.742 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(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 (55): * Single equations (assignments): 51 * 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.0003396/0.5143, allocations: 199.7 kB / 0.7005 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.5145, allocations: 82.97 kB / 0.7006 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/0.5202, allocations: 2.293 MB / 0.7028 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5202, allocations: 4 kB / 0.7028 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5202, allocations: 4 kB / 0.7028 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5202, allocations: 3.984 kB / 0.7028 GB, free: 15.13 MB / 0.4948 GB 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.006604/0.5268, allocations: 3.388 MB / 0.7062 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5268, allocations: 0 / 0.7062 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.5273, allocations: 67.03 kB / 0.7062 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/0.5303, allocations: 1.082 MB / 0.7073 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.5304, allocations: 12 kB / 0.7073 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/0.5378, allocations: 4.286 MB / 0.7115 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5378, allocations: 6.953 kB / 0.7115 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006728/0.5445, allocations: 2.889 MB / 0.7143 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.5449, allocations: 176.1 kB / 0.7145 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.545, allocations: 12 kB / 0.7145 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007643/0.5458, allocations: 75.89 kB / 0.7146 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.5461, allocations: 120.3 kB / 0.7147 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.5461, allocations: 16 kB / 0.7147 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000684/0.5468, allocations: 0.5147 MB / 0.7152 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.203e-06/0.5468, allocations: 0 / 0.7152 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008412/0.5477, allocations: 283.6 kB / 0.7155 GB, free: 1.938 MB / 0.4948 GB 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.0002479/0.5479, allocations: 141.6 kB / 0.7156 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003875/0.5518, allocations: 1.809 MB / 0.7174 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5518, allocations: 0 / 0.7174 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.5544, allocations: 1.201 MB / 0.7185 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.5548, allocations: 59.17 kB / 0.7186 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.5572, allocations: 1.811 MB / 0.7204 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.5577, allocations: 0.9651 MB / 0.7213 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002393/0.5579, allocations: 44.56 kB / 0.7213 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.5581, allocations: 43.42 kB / 0.7214 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.5581, allocations: 1.594 kB / 0.7214 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.0176/0.5757, allocations: 12.69 MB / 0.7338 GB, free: 15.09 MB / 0.5261 GB 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)