Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001581/0.001581, allocations: 187.9 kB / 8.353 MB, free: 0.707 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.391/1.391, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001626/0.001626, allocations: 116 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.068e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.0792, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3103/0.3895, allocations: 124.5 MB / 467.1 MB, free: 4.199 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3898, allocations: 85.25 kB / 467.2 MB, free: 4.156 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3937/0.7835, allocations: 94.12 MB / 0.5482 GB, free: 73.05 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7836, allocations: 0 / 0.5482 GB, free: 73.05 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003731/0.784, allocations: 94.84 kB / 0.5483 GB, free: 73.04 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01089/0.7949, allocations: 3.706 MB / 0.5519 GB, free: 71.55 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7949, allocations: 8.5 kB / 0.5519 GB, free: 71.55 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005769/0.8007, allocations: 0.9063 MB / 0.5528 GB, free: 71.32 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009317/0.81, allocations: 3.584 MB / 0.5563 GB, free: 70.62 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.8102, allocations: 117.1 kB / 0.5564 GB, free: 70.62 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009932/0.8112, allocations: 218.2 kB / 0.5566 GB, free: 70.61 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006344/0.8176, allocations: 3.474 MB / 0.56 GB, free: 69.96 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00724/0.8249, allocations: 4.002 MB / 0.5639 GB, free: 68.14 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.802e-05/0.825, allocations: 0 / 0.5639 GB, free: 68.14 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.8253, allocations: 4.609 kB / 0.5639 GB, free: 68.14 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.8255, allocations: 157.4 kB / 0.5641 GB, free: 68.13 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02239/0.8478, allocations: 15.09 MB / 0.5788 GB, free: 59.71 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004857/0.8527, allocations: 7.659 MB / 0.5863 GB, free: 53.03 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.8546, allocations: 1.644 MB / 0.5879 GB, free: 52.42 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006686/0.8613, allocations: 4.89 MB / 0.5927 GB, free: 49.67 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.8614, allocations: 50.12 kB / 0.5927 GB, free: 49.62 MB / 395.1 MB Notification: Performance of pre-optimization done (n=172): time 3.046e-06/0.8614, allocations: 2.531 kB / 0.5927 GB, free: 49.62 MB / 395.1 MB Notification: Performance of matching and sorting (n=175): time 0.007798/0.8692, allocations: 5.191 MB / 0.5978 GB, free: 47.07 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.8693, allocations: 173.1 kB / 0.5979 GB, free: 46.88 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.8713, allocations: 1.55 MB / 0.5995 GB, free: 46.2 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/0.8714, allocations: 29.3 kB / 0.5995 GB, free: 46.17 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/0.8721, allocations: 1.676 MB / 0.6011 GB, free: 44.89 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.8723, allocations: 0.5773 MB / 0.6017 GB, free: 44.43 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.8724, allocations: 0 / 0.6017 GB, free: 44.43 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.8725, allocations: 391.4 kB / 0.6021 GB, free: 44.09 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/0.8734, allocations: 0.7589 MB / 0.6028 GB, free: 43.77 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.8745, allocations: 1.366 MB / 0.6041 GB, free: 42.67 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.8762, allocations: 1.156 MB / 0.6053 GB, free: 42.21 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.8762, allocations: 6.812 kB / 0.6053 GB, free: 42.21 MB / 395.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.003767/0.8799, allocations: 2.84 MB / 0.608 GB, free: 41.04 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001035/0.881, allocations: 7.531 MB / 0.6154 GB, free: 32.98 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.881, allocations: 21.92 kB / 0.6154 GB, free: 32.98 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008053/0.8818, allocations: 467.8 kB / 0.6159 GB, free: 32.82 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.8834, allocations: 478.2 kB / 0.6163 GB, free: 32.77 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/0.8884, allocations: 7.781 MB / 0.6239 GB, free: 26.49 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.8902, allocations: 54.84 kB / 0.624 GB, free: 26.48 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.8905, allocations: 95.59 kB / 0.6241 GB, free: 26.46 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.8905, allocations: 3.938 kB / 0.6241 GB, free: 26.46 MB / 395.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004162/0.8947, allocations: 2.576 MB / 0.6266 GB, free: 25.45 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.704e-05/0.8948, allocations: 17 kB / 0.6266 GB, free: 25.45 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008132/0.8956, allocations: 465.6 kB / 0.627 GB, free: 25.29 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.8971, allocations: 471.7 kB / 0.6275 GB, free: 25.24 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00573/0.9029, allocations: 7.768 MB / 0.6351 GB, free: 18.96 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.9048, allocations: 49.08 kB / 0.6351 GB, free: 18.95 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/0.9051, allocations: 94.03 kB / 0.6352 GB, free: 18.93 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 241 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005473/0.9057, allocations: 170.9 kB / 0.6354 GB, free: 18.78 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006287/0.9063, allocations: 231.5 kB / 0.6356 GB, free: 18.61 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.9109, allocations: 2.647 MB / 0.6382 GB, free: 16.33 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.9109, allocations: 20 kB / 0.6382 GB, free: 16.31 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.9109, allocations: 7.953 kB / 0.6382 GB, free: 16.3 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.9109, allocations: 10.36 kB / 0.6382 GB, free: 16.3 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008994/0.9199, allocations: 5.342 MB / 0.6434 GB, free: 11.87 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.92, allocations: 3.938 kB / 0.6434 GB, free: 11.87 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.921, allocations: 247.3 kB / 0.6437 GB, free: 11.66 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.9223, allocations: 0.6335 MB / 0.6443 GB, free: 11.13 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.9224, allocations: 20 kB / 0.6443 GB, free: 11.11 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2171/1.14, allocations: 12.06 MB / 0.6561 GB, free: 63.86 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.14, allocations: 8.047 kB / 0.6561 GB, free: 63.86 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/1.145, allocations: 3.837 MB / 0.6598 GB, free: 63.21 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.146, allocations: 479 kB / 0.6603 GB, free: 63.12 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/1.146, allocations: 13.88 kB / 0.6603 GB, free: 63.12 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.148, allocations: 57.78 kB / 0.6604 GB, free: 63.12 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/1.148, allocations: 129.5 kB / 0.6605 GB, free: 63.12 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.148, allocations: 49.56 kB / 0.6605 GB, free: 63.12 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001803/1.15, allocations: 1.154 MB / 0.6617 GB, free: 62.97 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.15, allocations: 0 / 0.6617 GB, free: 62.97 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00434/1.154, allocations: 1.16 MB / 0.6628 GB, free: 62.97 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007356/1.155, allocations: 438.7 kB / 0.6632 GB, free: 62.88 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005024/1.16, allocations: 4.436 MB / 0.6676 GB, free: 61.71 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/1.16, allocations: 0 / 0.6676 GB, free: 61.71 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/1.162, allocations: 1.828 MB / 0.6693 GB, free: 61.07 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.164, allocations: 489.7 kB / 0.6698 GB, free: 61.05 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008805/1.173, allocations: 5.407 MB / 0.6751 GB, free: 59.8 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002336/1.176, allocations: 2.565 MB / 0.6776 GB, free: 59.01 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.003116/1.179, allocations: 0.7604 MB / 0.6783 GB, free: 58.92 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/1.179, allocations: 114.6 kB / 0.6784 GB, free: 58.91 MB / 395.1 MB Notification: Performance of SimCode: time 2.054e-06/1.179, allocations: 0.9375 kB / 0.6784 GB, free: 58.91 MB / 395.1 MB Notification: Performance of Templates: time 0.05938/1.238, allocations: 38.03 MB / 0.7156 GB, free: 56.55 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)