Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.0009228, allocations: 88.52 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0665/0.0665, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2808/0.2808, allocations: 78.01 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.694e-05, allocations: 11.98 kB / 0.5218 GB, free: 23.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 69.33 MB / 0.5895 GB, free: 2.512 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3541/0.457, allocations: 98.77 MB / 0.6859 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.4572, allocations: 74.03 kB / 0.686 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05363/0.5109, allocations: 19.91 MB / 0.7054 GB, free: 15.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5109, allocations: 0 / 0.7054 GB, free: 15.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.454e-05/0.511, allocations: 12 kB / 0.7055 GB, free: 15.82 MB / 458.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.00257/0.5135, allocations: 1.189 MB / 0.7066 GB, free: 14.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5136, allocations: 15.98 kB / 0.7066 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.5158, allocations: 373.9 kB / 0.707 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007826/0.5166, allocations: 0.5581 MB / 0.7075 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.5167, allocations: 148.7 kB / 0.7077 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.5169, allocations: 58.12 kB / 0.7077 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009632/0.5178, allocations: 0.5621 MB / 0.7083 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5178, allocations: 0 / 0.7083 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.5179, allocations: 18.44 kB / 0.7083 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.5179, allocations: 12 kB / 0.7083 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.5188, allocations: 0.5409 MB / 0.7088 GB, free: 12.94 MB / 458.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.004074/0.5229, allocations: 2.611 MB / 0.7114 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.5357, allocations: 3.58 MB / 0.7149 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.5364, allocations: 359.3 kB / 0.7152 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/0.5365, allocations: 4.562 kB / 0.7152 GB, free: 7.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.5365, allocations: 43.06 kB / 0.7153 GB, free: 7.363 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/0.5365, allocations: 0 / 0.7153 GB, free: 7.363 MB / 458.7 MB Notification: Performance of matching and sorting (n=57): time 0.005497/0.542, allocations: 1.869 MB / 0.7171 GB, free: 5.824 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.5421, allocations: 63.95 kB / 0.7172 GB, free: 5.746 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008797/0.5429, allocations: 0.6423 MB / 0.7178 GB, free: 5.273 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/0.543, allocations: 37.33 kB / 0.7178 GB, free: 5.238 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.5433, allocations: 369 kB / 0.7182 GB, free: 5.016 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.5435, allocations: 205 kB / 0.7184 GB, free: 4.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.5435, allocations: 7.438 kB / 0.7184 GB, free: 4.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.5436, allocations: 336.3 kB / 0.7187 GB, free: 4.516 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.5441, allocations: 301.7 kB / 0.719 GB, free: 4.359 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.5446, allocations: 379.2 kB / 0.7193 GB, free: 4.109 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.5451, allocations: 338.8 kB / 0.7197 GB, free: 3.922 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5451, allocations: 0 / 0.7197 GB, free: 3.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006003/0.5511, allocations: 2.053 MB / 0.7217 GB, free: 2.234 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5512, allocations: 7.984 kB / 0.7217 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.5512, allocations: 4 kB / 0.7217 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00374/0.5549, allocations: 0.9849 MB / 0.7226 GB, free: 1.367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.5554, allocations: 86.45 kB / 0.7227 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00836/0.5638, allocations: 5.401 MB / 0.728 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009832/0.5648, allocations: 112.4 kB / 0.7281 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.5649, allocations: 26.42 kB / 0.7281 GB, free: 12.68 MB / 474.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.000189/0.5651, allocations: 130.4 kB / 0.7283 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.5653, allocations: 79.06 kB / 0.7283 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005443/0.5707, allocations: 1.951 MB / 0.7302 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.5708, allocations: 8 kB / 0.7302 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5708, allocations: 7.953 kB / 0.7303 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5708, allocations: 3.984 kB / 0.7303 GB, free: 10.9 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 postOpt removeSimpleEquations (simulation): time 0.006715/0.5775, allocations: 3.046 MB / 0.7332 GB, free: 8.457 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.5776, allocations: 0 / 0.7332 GB, free: 8.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004817/0.5781, allocations: 71.36 kB / 0.7333 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/0.5809, allocations: 0.8407 MB / 0.7341 GB, free: 7.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.581, allocations: 15.69 kB / 0.7341 GB, free: 7.652 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005855/0.5869, allocations: 3.356 MB / 0.7374 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5869, allocations: 3.938 kB / 0.7374 GB, free: 4.992 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006265/0.5932, allocations: 2.43 MB / 0.7398 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/0.5936, allocations: 180.1 kB / 0.74 GB, free: 2.953 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5937, allocations: 14.44 kB / 0.74 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/0.5944, allocations: 70.81 kB / 0.74 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/0.5948, allocations: 118.3 kB / 0.7402 GB, free: 2.785 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.5948, allocations: 15.12 kB / 0.7402 GB, free: 2.773 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006338/0.5955, allocations: 0.5075 MB / 0.7407 GB, free: 2.414 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5955, allocations: 0 / 0.7407 GB, free: 2.414 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008014/0.5963, allocations: 283.8 kB / 0.7409 GB, free: 2.16 MB / 474.7 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 () * 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.0002399/0.5966, allocations: 137.6 kB / 0.7411 GB, free: 2.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003419/0.6, allocations: 1.553 MB / 0.7426 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6, allocations: 0 / 0.7426 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.6025, allocations: 1.091 MB / 0.7437 GB, free: 15.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.6029, allocations: 51.5 kB / 0.7437 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.6048, allocations: 1.204 MB / 0.7449 GB, free: 14.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.6053, allocations: 0.9649 MB / 0.7458 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002554/0.6055, allocations: 52.53 kB / 0.7459 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.6057, allocations: 39.62 kB / 0.7459 GB, free: 13.05 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6057, allocations: 0 / 0.7459 GB, free: 13.05 MB / 490.7 MB Notification: Performance of Templates: time 0.01891/0.6246, allocations: 12.71 MB / 0.7583 GB, free: 368 kB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)