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.007558/0.007559, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.322/1.322, allocations: 223.2 MB / 239 MB, free: 1.777 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.0009711/0.0009711, allocations: 104.7 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4561/0.4561, allocations: 78.59 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.000367, allocations: 12 kB / 499.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4487, allocations: 69.35 MB / 0.5558 GB, free: 38.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.5906, allocations: 97.29 MB / 0.6508 GB, free: 9.227 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.5909, allocations: 76.59 kB / 0.6509 GB, free: 9.152 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05593/0.6468, allocations: 20.58 MB / 0.671 GB, free: 4.449 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6469, allocations: 0 / 0.671 GB, free: 4.449 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.347e-05/0.6469, allocations: 16 kB / 0.671 GB, free: 4.434 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.004144/0.6511, allocations: 1.382 MB / 0.6723 GB, free: 3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6511, allocations: 12.03 kB / 0.6723 GB, free: 2.988 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.6536, allocations: 386.5 kB / 0.6727 GB, free: 2.609 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.655, allocations: 0.558 MB / 0.6732 GB, free: 2.012 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.6552, allocations: 154 kB / 0.6734 GB, free: 1.844 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.6554, allocations: 48.34 kB / 0.6734 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.6569, allocations: 0.6896 MB / 0.6741 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6569, allocations: 4 kB / 0.6741 GB, free: 1.098 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/0.657, allocations: 20 kB / 0.6741 GB, free: 1.078 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.657, allocations: 8 kB / 0.6741 GB, free: 1.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.6584, allocations: 0.6637 MB / 0.6748 GB, free: 412 kB / 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.00518/0.6636, allocations: 2.613 MB / 0.6773 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/0.6772, allocations: 3.762 MB / 0.681 GB, free: 9.871 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.6774, allocations: 12.53 kB / 0.681 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.6774, allocations: 47.06 kB / 0.6811 GB, free: 9.805 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.004e-06/0.6774, allocations: 0 / 0.6811 GB, free: 9.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01474/0.6922, allocations: 4.318 MB / 0.6853 GB, free: 5.414 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.6923, allocations: 63.97 kB / 0.6853 GB, free: 5.336 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.6937, allocations: 0.6523 MB / 0.686 GB, free: 4.676 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.6938, allocations: 37.7 kB / 0.686 GB, free: 4.633 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.6941, allocations: 368.7 kB / 0.6864 GB, free: 4.266 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.6945, allocations: 209 kB / 0.6866 GB, free: 4.059 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.6945, allocations: 8 kB / 0.6866 GB, free: 4.051 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6947, allocations: 334 kB / 0.6869 GB, free: 3.719 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009002/0.6956, allocations: 417.1 kB / 0.6873 GB, free: 3.312 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/0.6965, allocations: 497.8 kB / 0.6878 GB, free: 2.801 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009567/0.6975, allocations: 454.6 kB / 0.6882 GB, free: 2.355 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.6975, allocations: 8 kB / 0.6882 GB, free: 2.348 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.007305/0.7048, allocations: 2.398 MB / 0.6906 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.7048, allocations: 5.562 kB / 0.6906 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.7049, allocations: 4 kB / 0.6906 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004478/0.7093, allocations: 1.211 MB / 0.6917 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.7099, allocations: 91.83 kB / 0.6918 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.7223, allocations: 6.517 MB / 0.6982 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.7235, allocations: 111.4 kB / 0.6983 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.7237, allocations: 23.98 kB / 0.6983 GB, free: 7.695 MB / 0.4948 GB 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.0005802/0.7243, allocations: 201.7 kB / 0.6985 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.7245, allocations: 78.97 kB / 0.6986 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006568/0.7311, allocations: 2.289 MB / 0.7008 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.7312, allocations: 8 kB / 0.7008 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.7312, allocations: 11.94 kB / 0.7008 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7312, allocations: 3.984 kB / 0.7009 GB, free: 5.074 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.008144/0.7394, allocations: 3.38 MB / 0.7042 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.7394, allocations: 4 kB / 0.7042 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/0.7399, allocations: 63.91 kB / 0.7042 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003478/0.7434, allocations: 1.074 MB / 0.7053 GB, free: 464 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.02e-05/0.7435, allocations: 12 kB / 0.7053 GB, free: 452 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00902/0.7525, allocations: 4.288 MB / 0.7095 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.7526, allocations: 3.953 kB / 0.7095 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007969/0.7605, allocations: 2.889 MB / 0.7123 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.761, allocations: 184.1 kB / 0.7125 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.7613, allocations: 8 kB / 0.7125 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008677/0.7621, allocations: 75.89 kB / 0.7125 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/0.7625, allocations: 112.4 kB / 0.7127 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.7626, allocations: 19.98 kB / 0.7127 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008458/0.7634, allocations: 0.511 MB / 0.7132 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7634, allocations: 0 / 0.7132 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001085/0.7645, allocations: 295.5 kB / 0.7135 GB, free: 7.891 MB / 0.5105 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.0003142/0.7649, allocations: 137.8 kB / 0.7136 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004605/0.7695, allocations: 1.802 MB / 0.7153 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7695, allocations: 4.125 kB / 0.7153 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003052/0.7726, allocations: 1.205 MB / 0.7165 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.7734, allocations: 55.17 kB / 0.7166 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.7768, allocations: 1.81 MB / 0.7183 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/0.7776, allocations: 0.9651 MB / 0.7193 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003761/0.778, allocations: 56.48 kB / 0.7193 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.7783, allocations: 35.44 kB / 0.7194 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.7783, allocations: 0 / 0.7194 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of Templates: time 0.02437/0.8026, allocations: 12.68 MB / 0.7318 GB, free: 4.988 MB / 0.5261 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)