Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.000988/0.0009881, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007885/0.0007884, allocations: 87.75 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4322/0.4322, allocations: 78.12 MB / 409.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.51e-05, allocations: 3.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 69.35 MB / 0.5413 GB, free: 6.969 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3604/0.4815, allocations: 96.55 MB / 0.6356 GB, free: 3.211 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4818, allocations: 67.97 kB / 0.6357 GB, free: 3.145 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05268/0.5345, allocations: 20.28 MB / 0.6555 GB, free: 14.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5345, allocations: 0 / 0.6555 GB, free: 14.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.5346, allocations: 16 kB / 0.6555 GB, free: 14.89 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.002521/0.5371, allocations: 1.172 MB / 0.6566 GB, free: 13.67 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5372, allocations: 12.02 kB / 0.6566 GB, free: 13.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.5393, allocations: 382.5 kB / 0.657 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.5401, allocations: 0.5547 MB / 0.6576 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.5403, allocations: 138.3 kB / 0.6577 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/0.5404, allocations: 32.56 kB / 0.6577 GB, free: 12.51 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000831/0.5412, allocations: 0.5145 MB / 0.6582 GB, free: 11.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/0.5421, allocations: 0.5076 MB / 0.6587 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5421, allocations: 0 / 0.6587 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.5422, allocations: 0 / 0.6587 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.5422, allocations: 12 kB / 0.6587 GB, free: 11.47 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004042/0.5462, allocations: 2.522 MB / 0.6612 GB, free: 8.852 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.5589, allocations: 3.546 MB / 0.6647 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.5594, allocations: 346.5 kB / 0.665 GB, free: 4.918 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.511e-05/0.5595, allocations: 8.562 kB / 0.665 GB, free: 4.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.5595, allocations: 35.12 kB / 0.665 GB, free: 4.867 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.024e-06/0.5595, allocations: 0 / 0.665 GB, free: 4.867 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.005236/0.5648, allocations: 1.839 MB / 0.6668 GB, free: 3.008 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.5648, allocations: 59.95 kB / 0.6669 GB, free: 2.938 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.5656, allocations: 0.5977 MB / 0.6675 GB, free: 2.336 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.5656, allocations: 26.27 kB / 0.6675 GB, free: 2.305 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.5659, allocations: 364.6 kB / 0.6678 GB, free: 1.945 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.5661, allocations: 197 kB / 0.668 GB, free: 1.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.5661, allocations: 0 / 0.668 GB, free: 1.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.5662, allocations: 334 kB / 0.6683 GB, free: 1.418 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.5667, allocations: 293.5 kB / 0.6686 GB, free: 1.133 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.5672, allocations: 366.5 kB / 0.669 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.5676, allocations: 318.7 kB / 0.6693 GB, free: 452 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5677, allocations: 0 / 0.6693 GB, free: 452 kB / 474.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005692/0.5733, allocations: 2.005 MB / 0.6712 GB, free: 14.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5734, allocations: 4 kB / 0.6712 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5734, allocations: 4 kB / 0.6712 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003667/0.5771, allocations: 0.9649 MB / 0.6722 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.5775, allocations: 87.83 kB / 0.6723 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/0.5853, allocations: 5.224 MB / 0.6774 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009357/0.5863, allocations: 88.61 kB / 0.6775 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.738e-05/0.5864, allocations: 27.98 kB / 0.6775 GB, free: 7.777 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "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 () * 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.000249/0.5866, allocations: 118 kB / 0.6776 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.5868, allocations: 82.97 kB / 0.6777 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005322/0.5922, allocations: 1.887 MB / 0.6795 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.5922, allocations: 12 kB / 0.6795 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5922, allocations: 4 kB / 0.6795 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5922, allocations: 3.984 kB / 0.6795 GB, free: 5.648 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006318/0.5985, allocations: 2.918 MB / 0.6824 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5985, allocations: 4 kB / 0.6824 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.599, allocations: 63.91 kB / 0.6824 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/0.6017, allocations: 0.8408 MB / 0.6833 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.6018, allocations: 7.984 kB / 0.6833 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00546/0.6072, allocations: 3.276 MB / 0.6865 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6072, allocations: 0 / 0.6865 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005726/0.613, allocations: 2.386 MB / 0.6888 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.6132, allocations: 180 kB / 0.689 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.6134, allocations: 0 / 0.689 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/0.6141, allocations: 63.94 kB / 0.689 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.6144, allocations: 112.3 kB / 0.6891 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.6144, allocations: 16 kB / 0.6892 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005625/0.615, allocations: 479.2 kB / 0.6896 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.615, allocations: 0 / 0.6896 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008205/0.6158, allocations: 259.6 kB / 0.6899 GB, free: 10.82 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 () * 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.0002436/0.6161, allocations: 133 kB / 0.69 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003408/0.6195, allocations: 1.51 MB / 0.6915 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6195, allocations: 0 / 0.6915 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.622, allocations: 1.054 MB / 0.6925 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.6224, allocations: 43.27 kB / 0.6925 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.6244, allocations: 1.177 MB / 0.6937 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.6248, allocations: 0.961 MB / 0.6946 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002343/0.6251, allocations: 48.55 kB / 0.6947 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.6252, allocations: 43.42 kB / 0.6947 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.6252, allocations: 0 / 0.6947 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of Templates: time 0.01775/0.643, allocations: 11.61 MB / 0.706 GB, free: 10.21 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)