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.00172/0.00172, allocations: 181.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.309/1.309, allocations: 194.3 MB / 208.4 MB, free: 6.695 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.001587/0.001587, allocations: 120.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.772e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07637/0.07641, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3287/0.4052, allocations: 110.5 MB / 459.9 MB, free: 1.395 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4055, allocations: 85.92 kB / 460 MB, free: 1.352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1636/0.5692, allocations: 62.07 MB / 0.5099 GB, free: 9.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5692, allocations: 0 / 0.5099 GB, free: 9.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002336/0.5694, allocations: 79.94 kB / 0.5099 GB, free: 9.645 MB / 378.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.006859/0.5763, allocations: 2.987 MB / 0.5129 GB, free: 6.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5764, allocations: 8.031 kB / 0.5129 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.5782, allocations: 479.5 kB / 0.5133 GB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00451/0.5828, allocations: 2.045 MB / 0.5153 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.5831, allocations: 383.8 kB / 0.5157 GB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005878/0.5837, allocations: 283.9 kB / 0.516 GB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006329/0.59, allocations: 3.561 MB / 0.5194 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.595e-05/0.5901, allocations: 7.906 kB / 0.5194 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/0.5904, allocations: 124 kB / 0.5196 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.5905, allocations: 109.5 kB / 0.5197 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004689/0.5952, allocations: 2.809 MB / 0.5224 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/0.6167, allocations: 11.75 MB / 0.5339 GB, free: 468 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2313/0.848, allocations: 2.771 MB / 0.5366 GB, free: 86.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.8499, allocations: 1.102 MB / 0.5377 GB, free: 86.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/0.8502, allocations: 141.5 kB / 0.5378 GB, free: 86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.8519, allocations: 1.117 MB / 0.5389 GB, free: 85.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 5.139e-06/0.8519, allocations: 0 / 0.5389 GB, free: 85.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=179): time 0.0198/0.8717, allocations: 7.972 MB / 0.5467 GB, free: 85.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.8719, allocations: 307.6 kB / 0.547 GB, free: 84.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/0.8752, allocations: 1.812 MB / 0.5487 GB, free: 84.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003202/0.8755, allocations: 62.05 kB / 0.5488 GB, free: 84.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.8766, allocations: 1.352 MB / 0.5501 GB, free: 84.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.8771, allocations: 0.602 MB / 0.5507 GB, free: 83.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.8772, allocations: 40.12 kB / 0.5507 GB, free: 83.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8773, allocations: 390.2 kB / 0.5511 GB, free: 83.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.8786, allocations: 0.9979 MB / 0.5521 GB, free: 83.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.8801, allocations: 1.523 MB / 0.5536 GB, free: 82.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.8816, allocations: 1.204 MB / 0.5548 GB, free: 82.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.8816, allocations: 3.969 kB / 0.5548 GB, free: 82.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005698/0.8873, allocations: 3.557 MB / 0.5582 GB, free: 82.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009572/0.8883, allocations: 5.216 MB / 0.5633 GB, free: 77.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.8883, allocations: 11.56 kB / 0.5633 GB, free: 77.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002841/0.8912, allocations: 1.189 MB / 0.5645 GB, free: 77.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.8926, allocations: 372.6 kB / 0.5649 GB, free: 77.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.9056, allocations: 14.56 MB / 0.5791 GB, free: 68.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/0.9089, allocations: 171.1 kB / 0.5792 GB, free: 68.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.9092, allocations: 79.5 kB / 0.5793 GB, free: 68.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.9092, allocations: 3.312 kB / 0.5793 GB, free: 68.09 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005044/0.9142, allocations: 3.329 MB / 0.5826 GB, free: 66.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.9143, allocations: 10.75 kB / 0.5826 GB, free: 66.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.9168, allocations: 1.197 MB / 0.5837 GB, free: 66.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.918, allocations: 368.1 kB / 0.5841 GB, free: 66.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.9303, allocations: 14.53 MB / 0.5983 GB, free: 56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.9329, allocations: 158.9 kB / 0.5984 GB, free: 55.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/0.9332, allocations: 78.53 kB / 0.5985 GB, free: 55.95 MB / 394.7 MB 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 {(4,100.0%) 14,(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.000756/0.934, allocations: 246.5 kB / 0.5987 GB, free: 55.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007975/0.9348, allocations: 237.4 kB / 0.599 GB, free: 55.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005924/0.9407, allocations: 3.391 MB / 0.6023 GB, free: 54.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.9408, allocations: 19.78 kB / 0.6023 GB, free: 54.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.9408, allocations: 2.281 kB / 0.6023 GB, free: 54.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.9408, allocations: 11.16 kB / 0.6023 GB, free: 54.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.952, allocations: 6.636 MB / 0.6088 GB, free: 51.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.952, allocations: 3.938 kB / 0.6088 GB, free: 51.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.9529, allocations: 195.3 kB / 0.609 GB, free: 51.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003234/0.9561, allocations: 1.4 MB / 0.6104 GB, free: 51.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/0.9563, allocations: 49.88 kB / 0.6104 GB, free: 51.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/0.9712, allocations: 14.59 MB / 0.6246 GB, free: 40.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9712, allocations: 0 / 0.6246 GB, free: 40.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007356/0.9786, allocations: 4.879 MB / 0.6294 GB, free: 36.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.9802, allocations: 0.5324 MB / 0.6299 GB, free: 35.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000788/0.981, allocations: 54.75 kB / 0.63 GB, free: 35.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.9828, allocations: 134.4 kB / 0.6301 GB, free: 35.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005206/0.9833, allocations: 224.4 kB / 0.6303 GB, free: 35.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.9835, allocations: 51.52 kB / 0.6304 GB, free: 35.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002298/0.9858, allocations: 1.389 MB / 0.6317 GB, free: 33.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.9858, allocations: 0 / 0.6317 GB, free: 33.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005496/0.9913, allocations: 1.26 MB / 0.633 GB, free: 32.71 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.0007799/0.9921, allocations: 355.3 kB / 0.6333 GB, free: 32.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009065/1.001, allocations: 6.245 MB / 0.6394 GB, free: 26.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.001, allocations: 4 kB / 0.6394 GB, free: 26.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003584/1.005, allocations: 2.416 MB / 0.6418 GB, free: 24.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/1.008, allocations: 0.5082 MB / 0.6423 GB, free: 24.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.019, allocations: 5.132 MB / 0.6473 GB, free: 19.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/1.022, allocations: 2.304 MB / 0.6495 GB, free: 17.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003953/1.026, allocations: 0.9075 MB / 0.6504 GB, free: 17.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/1.026, allocations: 110.2 kB / 0.6505 GB, free: 16.99 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/1.026, allocations: 0 / 0.6505 GB, free: 16.99 MB / 394.7 MB Notification: Performance of Templates: time 0.3002/1.327, allocations: 50.8 MB / 0.7001 GB, free: 85.14 MB / 410.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)