Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.215/1.215, allocations: 170.7 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001597/0.001597, allocations: 103.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.354e-05/1.356e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0687/0.06873, allocations: 38.78 MB / 301 MB, free: 3.621 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4446, allocations: 104.4 MB / 405.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4449, allocations: 87.31 kB / 405.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1655/0.6104, allocations: 60.85 MB / 466.3 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6105, allocations: 0 / 466.3 MB, free: 5.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003907/0.6109, allocations: 79.88 kB / 466.4 MB, free: 4.949 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.009227/0.6201, allocations: 2.987 MB / 469.4 MB, free: 1.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.6202, allocations: 12.03 kB / 469.4 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.6229, allocations: 483.5 kB / 469.9 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2057/0.8286, allocations: 1.972 MB / 471.8 MB, free: 75.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/0.8289, allocations: 289.9 kB / 472.1 MB, free: 75.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007171/0.8296, allocations: 173.4 kB / 472.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006176/0.8358, allocations: 2.659 MB / 474.9 MB, free: 75.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005668/0.8415, allocations: 3.179 MB / 478.1 MB, free: 75.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.147e-05/0.8416, allocations: 7.203 kB / 478.1 MB, free: 75.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.8418, allocations: 4.812 kB / 478.1 MB, free: 75.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.842, allocations: 114.1 kB / 478.2 MB, free: 75.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.86, allocations: 11.23 MB / 489.5 MB, free: 72.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.8624, allocations: 2.714 MB / 492.2 MB, free: 71.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.8635, allocations: 1.051 MB / 493.2 MB, free: 71.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.8638, allocations: 147.2 kB / 493.4 MB, free: 71.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.8651, allocations: 1.064 MB / 494.4 MB, free: 71.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 2.826e-06/0.8651, allocations: 6.375 kB / 494.5 MB, free: 71.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=179): time 0.01112/0.8762, allocations: 6.372 MB / 0.4891 GB, free: 70.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/0.8763, allocations: 339.9 kB / 0.4894 GB, free: 70.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.8784, allocations: 1.475 MB / 0.4909 GB, free: 69.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.8785, allocations: 39.67 kB / 0.4909 GB, free: 69.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009386/0.8795, allocations: 1.351 MB / 0.4922 GB, free: 68.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/0.8799, allocations: 0.5838 MB / 0.4928 GB, free: 68.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.88, allocations: 0 / 0.4928 GB, free: 68.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.8801, allocations: 387.4 kB / 0.4931 GB, free: 67.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.8812, allocations: 0.9524 MB / 0.4941 GB, free: 67.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.8826, allocations: 1.478 MB / 0.4955 GB, free: 66.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.8839, allocations: 1.164 MB / 0.4967 GB, free: 66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.8839, allocations: 3.5 kB / 0.4967 GB, free: 66 MB / 346.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00494/0.8888, allocations: 3.383 MB / 0.5 GB, free: 64.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.8889, allocations: 16.31 kB / 0.5 GB, free: 64.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.8889, allocations: 11.19 kB / 0.5 GB, free: 64.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.8914, allocations: 1.161 MB / 0.5011 GB, free: 64.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.8928, allocations: 380.4 kB / 0.5015 GB, free: 64.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.9045, allocations: 13.98 MB / 0.5151 GB, free: 54.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.9067, allocations: 138.3 kB / 0.5153 GB, free: 54.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.907, allocations: 80.12 kB / 0.5154 GB, free: 54.31 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000422/0.9074, allocations: 182.4 kB / 0.5155 GB, free: 54.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.9077, allocations: 214.6 kB / 0.5157 GB, free: 54.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005217/0.9129, allocations: 3.206 MB / 0.5189 GB, free: 52.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.913, allocations: 18.84 kB / 0.5189 GB, free: 52.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.913, allocations: 6.562 kB / 0.5189 GB, free: 52.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.913, allocations: 9.844 kB / 0.5189 GB, free: 52.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009292/0.9223, allocations: 6.101 MB / 0.5249 GB, free: 50.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.9223, allocations: 2.781 kB / 0.5249 GB, free: 50.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/0.9231, allocations: 210.6 kB / 0.5251 GB, free: 50.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/0.9261, allocations: 1.368 MB / 0.5264 GB, free: 50.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.9262, allocations: 25.52 kB / 0.5264 GB, free: 50.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/0.939, allocations: 14.09 MB / 0.5402 GB, free: 38.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.939, allocations: 7.953 kB / 0.5402 GB, free: 38.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006248/0.9453, allocations: 4.688 MB / 0.5448 GB, free: 34.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.9467, allocations: 0.4999 MB / 0.5453 GB, free: 33.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/0.947, allocations: 23.42 kB / 0.5453 GB, free: 33.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.9483, allocations: 107.7 kB / 0.5454 GB, free: 33.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/0.9487, allocations: 234.7 kB / 0.5456 GB, free: 33.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.9488, allocations: 57.98 kB / 0.5457 GB, free: 33.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001386/0.9502, allocations: 1.107 MB / 0.5467 GB, free: 32.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9502, allocations: 4 kB / 0.5467 GB, free: 32.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002155/0.9524, allocations: 0.6489 MB / 0.5474 GB, free: 32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004873/0.9529, allocations: 324.2 kB / 0.5477 GB, free: 31.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.9571, allocations: 3.37 MB / 0.551 GB, free: 28.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9571, allocations: 4 kB / 0.551 GB, free: 28.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002975/0.9601, allocations: 2.322 MB / 0.5533 GB, free: 26.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.9623, allocations: 407.6 kB / 0.5536 GB, free: 26.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008797/0.9711, allocations: 4.923 MB / 0.5584 GB, free: 21.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.9728, allocations: 2.279 MB / 0.5607 GB, free: 20.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001405/0.9742, allocations: 401.4 kB / 0.5611 GB, free: 19.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.9745, allocations: 122.7 kB / 0.5612 GB, free: 19.72 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.9745, allocations: 0 / 0.5612 GB, free: 19.72 MB / 346.7 MB Notification: Performance of Templates: time 0.04783/1.022, allocations: 34.02 MB / 0.5944 GB, free: 5.211 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)