Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_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.004145/0.004145, allocations: 171 kB / 15.11 MB, free: 6.039 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.152/1.152, allocations: 223.2 MB / 239 MB, free: 1.785 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.000827/0.000827, allocations: 89.42 kB / 290.2 MB, free: 13.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4074/0.4074, allocations: 78.52 MB / 419.8 MB, free: 43.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 8 kB / 499.7 MB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 69.35 MB / 0.5557 GB, free: 38.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09898/0.3756, allocations: 97.31 MB / 0.6507 GB, free: 9.117 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001783/0.3758, allocations: 75.97 kB / 0.6508 GB, free: 9.043 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04947/0.4253, allocations: 20.58 MB / 0.6709 GB, free: 4.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4253, allocations: 0 / 0.6709 GB, free: 4.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.929e-05/0.4254, allocations: 20 kB / 0.6709 GB, free: 4.32 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.002907/0.4283, allocations: 1.379 MB / 0.6723 GB, free: 2.891 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.4283, allocations: 8.031 kB / 0.6723 GB, free: 2.883 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.4304, allocations: 378.5 kB / 0.6726 GB, free: 2.512 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.4311, allocations: 0.5696 MB / 0.6732 GB, free: 1.902 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.4313, allocations: 150.1 kB / 0.6733 GB, free: 1.738 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.4314, allocations: 48.34 kB / 0.6734 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4326, allocations: 0.6896 MB / 0.6741 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4326, allocations: 0 / 0.6741 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.4327, allocations: 16 kB / 0.6741 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4327, allocations: 15.98 kB / 0.6741 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.4338, allocations: 0.6676 MB / 0.6747 GB, free: 300 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.003852/0.4377, allocations: 2.609 MB / 0.6773 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/0.4499, allocations: 3.76 MB / 0.681 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.499e-05/0.45, allocations: 12.48 kB / 0.681 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.45, allocations: 43.12 kB / 0.681 GB, free: 9.703 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.485e-06/0.45, allocations: 0 / 0.681 GB, free: 9.703 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01244/0.4625, allocations: 4.322 MB / 0.6852 GB, free: 5.309 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.4625, allocations: 63.91 kB / 0.6853 GB, free: 5.234 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.4634, allocations: 0.6523 MB / 0.6859 GB, free: 4.574 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.4635, allocations: 37.7 kB / 0.686 GB, free: 4.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.4637, allocations: 364.7 kB / 0.6863 GB, free: 4.168 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.4639, allocations: 205 kB / 0.6865 GB, free: 3.965 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.4639, allocations: 12 kB / 0.6865 GB, free: 3.953 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.464, allocations: 330 kB / 0.6868 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/0.4647, allocations: 421.1 kB / 0.6872 GB, free: 3.215 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007902/0.4655, allocations: 0.49 MB / 0.6877 GB, free: 2.699 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.4663, allocations: 450.6 kB / 0.6881 GB, free: 2.258 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4664, allocations: 4 kB / 0.6882 GB, free: 2.254 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006361/0.4727, allocations: 2.406 MB / 0.6905 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4728, allocations: 4 kB / 0.6905 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.4728, allocations: 4 kB / 0.6905 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004087/0.4769, allocations: 1.207 MB / 0.6917 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.4773, allocations: 83.89 kB / 0.6918 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.4877, allocations: 6.529 MB / 0.6981 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009224/0.4886, allocations: 107.4 kB / 0.6982 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.4887, allocations: 24 kB / 0.6983 GB, free: 7.594 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.0003659/0.4891, allocations: 194.2 kB / 0.6985 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.4893, allocations: 94.89 kB / 0.6985 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.4952, allocations: 2.285 MB / 0.7008 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4952, allocations: 4 kB / 0.7008 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4952, allocations: 8 kB / 0.7008 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4953, allocations: 7.984 kB / 0.7008 GB, free: 4.973 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.006996/0.5023, allocations: 3.376 MB / 0.7041 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.5023, allocations: 4 kB / 0.7041 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003979/0.5027, allocations: 71.91 kB / 0.7042 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/0.5058, allocations: 1.07 MB / 0.7052 GB, free: 360 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.5058, allocations: 12 kB / 0.7052 GB, free: 348 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007434/0.5133, allocations: 4.292 MB / 0.7094 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5133, allocations: 3.953 kB / 0.7094 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006585/0.5199, allocations: 2.889 MB / 0.7122 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.5201, allocations: 180.1 kB / 0.7124 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.5203, allocations: 16 kB / 0.7124 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007556/0.521, allocations: 75.89 kB / 0.7125 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.5213, allocations: 116.3 kB / 0.7126 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.5214, allocations: 12 kB / 0.7126 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006161/0.522, allocations: 0.5186 MB / 0.7131 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.503e-06/0.522, allocations: 192 / 0.7131 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007897/0.5228, allocations: 283.6 kB / 0.7134 GB, free: 7.789 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.0002327/0.523, allocations: 139.1 kB / 0.7135 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003787/0.5268, allocations: 1.802 MB / 0.7153 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5268, allocations: 8.062 kB / 0.7153 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.5294, allocations: 1.201 MB / 0.7165 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.5297, allocations: 57.36 kB / 0.7165 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.532, allocations: 1.816 MB / 0.7183 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.5324, allocations: 0.9612 MB / 0.7192 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.5327, allocations: 52.53 kB / 0.7193 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.5329, allocations: 43.42 kB / 0.7193 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/0.5329, allocations: 0 / 0.7193 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of Templates: time 0.01789/0.5508, allocations: 12.67 MB / 0.7317 GB, free: 4.898 MB / 0.5261 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)