Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001608/0.001608, allocations: 183.2 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.347/1.347, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001617/0.001617, allocations: 108.1 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.694e-05, allocations: 4 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06828/0.06831, allocations: 44.5 MB / 342.6 MB, free: 6.992 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2848/0.3532, allocations: 109.8 MB / 452.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.3534, allocations: 82.02 kB / 452.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1613/0.5147, allocations: 61.28 MB / 0.5017 GB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5148, allocations: 4 kB / 0.5017 GB, free: 3.719 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002156/0.515, allocations: 79.88 kB / 0.5018 GB, free: 3.641 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.00686/0.5218, allocations: 2.99 MB / 0.5047 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5219, allocations: 8.031 kB / 0.5047 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.5236, allocations: 479.5 kB / 0.5052 GB, free: 108 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004198/0.5278, allocations: 2.033 MB / 0.5072 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.5281, allocations: 291.8 kB / 0.5075 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/0.5285, allocations: 171.8 kB / 0.5076 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004718/0.5332, allocations: 2.651 MB / 0.5102 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005512/0.5387, allocations: 3.152 MB / 0.5133 GB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.491e-05/0.5388, allocations: 7.984 kB / 0.5133 GB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.5391, allocations: 3.953 kB / 0.5133 GB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.5392, allocations: 125.4 kB / 0.5134 GB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01831/0.5575, allocations: 11.21 MB / 0.5244 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.5604, allocations: 2.708 MB / 0.527 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.5618, allocations: 1.05 MB / 0.528 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/0.5622, allocations: 147.8 kB / 0.5282 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.5637, allocations: 1.075 MB / 0.5292 GB, free: 6.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 3.196e-06/0.5638, allocations: 0 / 0.5292 GB, free: 6.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=179): time 0.01234/0.5761, allocations: 6.382 MB / 0.5355 GB, free: 232 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.187/0.7631, allocations: 304.7 kB / 0.5358 GB, free: 91.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.7656, allocations: 1.527 MB / 0.5373 GB, free: 91.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005258/0.7662, allocations: 40.53 kB / 0.5373 GB, free: 91.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009916/0.7672, allocations: 1.366 MB / 0.5386 GB, free: 91.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/0.7676, allocations: 0.5758 MB / 0.5392 GB, free: 91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.7677, allocations: 0 / 0.5392 GB, free: 91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.7678, allocations: 383.5 kB / 0.5396 GB, free: 90.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.769, allocations: 0.9577 MB / 0.5405 GB, free: 90.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.7705, allocations: 1.471 MB / 0.5419 GB, free: 90.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.772, allocations: 1.159 MB / 0.5431 GB, free: 90.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.772, allocations: 7.844 kB / 0.5431 GB, free: 90.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005217/0.7772, allocations: 3.324 MB / 0.5463 GB, free: 89.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008225/0.7781, allocations: 5.156 MB / 0.5513 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.7781, allocations: 14.41 kB / 0.5514 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.7809, allocations: 1.177 MB / 0.5525 GB, free: 84.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.7824, allocations: 380 kB / 0.5529 GB, free: 84.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.7948, allocations: 14 MB / 0.5665 GB, free: 76.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.7968, allocations: 133.7 kB / 0.5667 GB, free: 76.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.797, allocations: 80.14 kB / 0.5667 GB, free: 76.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.797, allocations: 3.594 kB / 0.5667 GB, free: 76.75 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004387/0.8014, allocations: 3.08 MB / 0.5698 GB, free: 76.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.8014, allocations: 11.59 kB / 0.5698 GB, free: 76.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/0.8038, allocations: 1.157 MB / 0.5709 GB, free: 76.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.8051, allocations: 377.8 kB / 0.5713 GB, free: 76.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.8169, allocations: 14 MB / 0.5849 GB, free: 67.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.819, allocations: 120.3 kB / 0.585 GB, free: 67.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.8192, allocations: 79.61 kB / 0.5851 GB, free: 67.96 MB / 394.7 MB 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] 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] 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].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * 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.0005443/0.8197, allocations: 191.3 kB / 0.5853 GB, free: 67.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.8201, allocations: 222.4 kB / 0.5855 GB, free: 67.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/0.8251, allocations: 3.198 MB / 0.5886 GB, free: 66.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.8251, allocations: 20.8 kB / 0.5887 GB, free: 66.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8252, allocations: 0 / 0.5887 GB, free: 66.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.8252, allocations: 14.7 kB / 0.5887 GB, free: 66.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00886/0.834, allocations: 6.096 MB / 0.5946 GB, free: 64.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.8341, allocations: 10.41 kB / 0.5946 GB, free: 64.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/0.8349, allocations: 199.8 kB / 0.5948 GB, free: 64.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00287/0.8377, allocations: 1.384 MB / 0.5962 GB, free: 63.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.8379, allocations: 21.75 kB / 0.5962 GB, free: 63.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.8511, allocations: 14.11 MB / 0.61 GB, free: 54.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.8512, allocations: 5.188 kB / 0.61 GB, free: 54.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006042/0.8572, allocations: 4.695 MB / 0.6146 GB, free: 52.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.8583, allocations: 0.5093 MB / 0.6151 GB, free: 52.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/0.8587, allocations: 20.91 kB / 0.6151 GB, free: 52.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.86, allocations: 112.7 kB / 0.6152 GB, free: 52.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004284/0.8605, allocations: 228.4 kB / 0.6154 GB, free: 52.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.8606, allocations: 54.67 kB / 0.6155 GB, free: 52.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.862, allocations: 1.147 MB / 0.6166 GB, free: 51.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.862, allocations: 0 / 0.6166 GB, free: 51.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003494/0.8655, allocations: 1.105 MB / 0.6177 GB, free: 51.69 MB / 394.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].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * 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.0005039/0.866, allocations: 334.7 kB / 0.618 GB, free: 51.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007609/0.8736, allocations: 5.92 MB / 0.6238 GB, free: 46.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8737, allocations: 1.062 kB / 0.6238 GB, free: 46.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.8771, allocations: 2.323 MB / 0.626 GB, free: 44.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.8792, allocations: 399.7 kB / 0.6264 GB, free: 44.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/0.8873, allocations: 5.009 MB / 0.6313 GB, free: 40.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.8891, allocations: 2.311 MB / 0.6336 GB, free: 38.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002627/0.8917, allocations: 0.8415 MB / 0.6344 GB, free: 37.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.892, allocations: 103.1 kB / 0.6345 GB, free: 37.71 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.892, allocations: 0 / 0.6345 GB, free: 37.71 MB / 394.7 MB Notification: Performance of Templates: time 0.05536/0.9474, allocations: 42.25 MB / 0.6757 GB, free: 2.188 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)