Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.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_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001569/0.001569, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.375/1.375, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001556/0.001556, allocations: 111.5 kB / 223.2 MB, free: 4.035 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.983e-05, allocations: 4 kB / 268.9 MB, free: 20.9 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07433/0.07437, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3202/0.3946, allocations: 115.8 MB / 423.5 MB, free: 9.172 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.3949, allocations: 85.33 kB / 423.6 MB, free: 9.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.305/0.6999, allocations: 55.63 MB / 479.2 MB, free: 78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.7, allocations: 0 / 479.2 MB, free: 78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002238/0.7002, allocations: 62.06 kB / 479.3 MB, free: 77.99 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: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.005947/0.7062, allocations: 2.57 MB / 481.8 MB, free: 76.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.7062, allocations: 11.16 kB / 481.8 MB, free: 76.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.7081, allocations: 430.5 kB / 482.3 MB, free: 76.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.7118, allocations: 1.731 MB / 484 MB, free: 76.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.7119, allocations: 176.1 kB / 484.2 MB, free: 76.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004018/0.7123, allocations: 239.2 kB / 484.4 MB, free: 76.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.7165, allocations: 2.943 MB / 487.3 MB, free: 75.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/0.7166, allocations: 14.83 kB / 487.3 MB, free: 75.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.7168, allocations: 101 kB / 487.4 MB, free: 75.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.001e-05/0.7169, allocations: 101.8 kB / 487.5 MB, free: 75.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/0.7203, allocations: 2.355 MB / 489.9 MB, free: 75.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01462/0.7349, allocations: 10.08 MB / 500 MB, free: 72.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.7377, allocations: 2.71 MB / 0.4909 GB, free: 70.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.7391, allocations: 1.108 MB / 0.492 GB, free: 70.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.7394, allocations: 140.3 kB / 0.4921 GB, free: 70.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.7395, allocations: 51.62 kB / 0.4922 GB, free: 70.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=151): time 3.376e-06/0.7395, allocations: 0 / 0.4922 GB, free: 70.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=174): time 0.01527/0.7547, allocations: 7.324 MB / 0.4993 GB, free: 67.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.7549, allocations: 200.3 kB / 0.4995 GB, free: 67.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.7574, allocations: 1.581 MB / 0.5011 GB, free: 66.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.7576, allocations: 57.11 kB / 0.5011 GB, free: 66.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.7582, allocations: 1.131 MB / 0.5022 GB, free: 66.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.7586, allocations: 0.5935 MB / 0.5028 GB, free: 65.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.7587, allocations: 36.53 kB / 0.5028 GB, free: 65.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7588, allocations: 387.1 kB / 0.5032 GB, free: 65.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.7599, allocations: 0.8844 MB / 0.5041 GB, free: 64.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.7613, allocations: 1.322 MB / 0.5054 GB, free: 64.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.7627, allocations: 1.08 MB / 0.5064 GB, free: 63.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.7627, allocations: 3.656 kB / 0.5064 GB, free: 63.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.004914/0.7677, allocations: 3.241 MB / 0.5096 GB, free: 62.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.7677, allocations: 7.875 kB / 0.5096 GB, free: 62.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.7677, allocations: 19.25 kB / 0.5096 GB, free: 62.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/0.7698, allocations: 0.9559 MB / 0.5105 GB, free: 62.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.7711, allocations: 363 kB / 0.5109 GB, free: 62.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.782, allocations: 11.98 MB / 0.5226 GB, free: 53.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.7845, allocations: 109.5 kB / 0.5227 GB, free: 53.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.7848, allocations: 72.94 kB / 0.5228 GB, free: 53.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (189): * Single equations (assignments): 182 * 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 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003668/0.7851, allocations: 219.3 kB / 0.523 GB, free: 53.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/0.7856, allocations: 221.7 kB / 0.5232 GB, free: 53.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.79, allocations: 2.91 MB / 0.526 GB, free: 51.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.7901, allocations: 16 kB / 0.526 GB, free: 51.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.7901, allocations: 8 kB / 0.526 GB, free: 51.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.7901, allocations: 11.67 kB / 0.5261 GB, free: 51.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009069/0.7992, allocations: 5.828 MB / 0.5317 GB, free: 46.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.7992, allocations: 0 / 0.5317 GB, free: 46.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.8002, allocations: 234.4 kB / 0.532 GB, free: 46.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/0.8025, allocations: 1.017 MB / 0.533 GB, free: 45.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.8026, allocations: 51.12 kB / 0.533 GB, free: 45.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.8145, allocations: 13.65 MB / 0.5463 GB, free: 32.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8145, allocations: 4 kB / 0.5463 GB, free: 32.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005854/0.8204, allocations: 4.365 MB / 0.5506 GB, free: 28.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.8218, allocations: 491.3 kB / 0.5511 GB, free: 27.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/0.8222, allocations: 36.11 kB / 0.5511 GB, free: 27.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.8234, allocations: 110.8 kB / 0.5512 GB, free: 27.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/0.8238, allocations: 147.5 kB / 0.5514 GB, free: 27.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.8239, allocations: 49.78 kB / 0.5514 GB, free: 27.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001657/0.8255, allocations: 1.208 MB / 0.5526 GB, free: 26.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8255, allocations: 0 / 0.5526 GB, free: 26.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002399/0.828, allocations: 0.7478 MB / 0.5533 GB, free: 25.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (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,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 (114): * Single equations (assignments): 109 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006256/0.8286, allocations: 377.1 kB / 0.5537 GB, free: 25.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004093/0.8327, allocations: 3.102 MB / 0.5567 GB, free: 22.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8327, allocations: 5.438 kB / 0.5567 GB, free: 22.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.8354, allocations: 2.085 MB / 0.5587 GB, free: 20.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.8379, allocations: 0.5372 MB / 0.5593 GB, free: 20.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/0.8459, allocations: 4.613 MB / 0.5638 GB, free: 16.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.8473, allocations: 2.012 MB / 0.5657 GB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001408/0.8487, allocations: 359.5 kB / 0.5661 GB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.8491, allocations: 123 kB / 0.5662 GB, free: 14.09 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.8491, allocations: 0 / 0.5662 GB, free: 14.09 MB / 346.7 MB Notification: Performance of Templates: time 0.234/1.083, allocations: 39.91 MB / 0.6052 GB, free: 79.88 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)