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.0009575/0.0009577, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.237/1.237, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001531/0.001531, allocations: 102.6 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.666e-05, allocations: 0 / 262.2 MB, free: 3.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2732, allocations: 38.77 MB / 301 MB, free: 39.15 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.4037, allocations: 115.2 MB / 416.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.404, allocations: 94.8 kB / 416.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3113/0.7153, allocations: 54.93 MB / 471.2 MB, free: 80.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.7154, allocations: 0 / 471.2 MB, free: 80.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001823/0.7156, allocations: 71.84 kB / 471.2 MB, free: 80.78 MB / 330.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.004779/0.7204, allocations: 2.575 MB / 473.8 MB, free: 78.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7204, allocations: 8.031 kB / 473.8 MB, free: 78.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.7217, allocations: 428.1 kB / 474.3 MB, free: 77.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.7245, allocations: 1.729 MB / 476 MB, free: 75.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.7246, allocations: 76 kB / 476.1 MB, free: 75.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.7248, allocations: 151.9 kB / 476.2 MB, free: 75.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003217/0.7281, allocations: 2.215 MB / 478.4 MB, free: 73.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/0.7317, allocations: 2.6 MB / 481 MB, free: 70.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/0.7318, allocations: 8 kB / 481 MB, free: 70.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.7319, allocations: 0 / 481 MB, free: 70.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.494e-05/0.732, allocations: 96.55 kB / 481.1 MB, free: 70.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.7453, allocations: 9.631 MB / 490.8 MB, free: 60.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.7476, allocations: 2.642 MB / 493.4 MB, free: 58.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.7488, allocations: 1.085 MB / 494.5 MB, free: 56.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.7491, allocations: 142.8 kB / 494.6 MB, free: 56.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.7491, allocations: 51.88 kB / 494.7 MB, free: 56.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=151): time 3.887e-06/0.7492, allocations: 0 / 494.7 MB, free: 56.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=174): time 0.009461/0.7586, allocations: 5.735 MB / 0.4887 GB, free: 50.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.7587, allocations: 201.9 kB / 0.4889 GB, free: 50.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.7605, allocations: 1.307 MB / 0.4901 GB, free: 49.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.7607, allocations: 25.7 kB / 0.4902 GB, free: 49.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005299/0.7612, allocations: 1.152 MB / 0.4913 GB, free: 48.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.7616, allocations: 0.5656 MB / 0.4918 GB, free: 47.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.7617, allocations: 0 / 0.4918 GB, free: 47.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.7618, allocations: 385.8 kB / 0.4922 GB, free: 47.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.7628, allocations: 0.8434 MB / 0.493 GB, free: 46.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.764, allocations: 1.27 MB / 0.4943 GB, free: 44.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.7652, allocations: 1.044 MB / 0.4953 GB, free: 43.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.7652, allocations: 7.938 kB / 0.4953 GB, free: 43.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.004248/0.7695, allocations: 3.018 MB / 0.4983 GB, free: 40.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.7695, allocations: 12 kB / 0.4983 GB, free: 40.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.7695, allocations: 15.98 kB / 0.4983 GB, free: 40.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.7715, allocations: 0.9372 MB / 0.4992 GB, free: 39.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.7728, allocations: 371.4 kB / 0.4995 GB, free: 39.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.7832, allocations: 11.54 MB / 0.5108 GB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.785, allocations: 71.8 kB / 0.5109 GB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.7852, allocations: 76.06 kB / 0.511 GB, free: 27.36 MB / 330.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.0003397/0.7855, allocations: 164.4 kB / 0.5111 GB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.7859, allocations: 193.7 kB / 0.5113 GB, free: 27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/0.7899, allocations: 2.736 MB / 0.514 GB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.7899, allocations: 16.25 kB / 0.514 GB, free: 24.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.7899, allocations: 8 kB / 0.514 GB, free: 24.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.7899, allocations: 11.97 kB / 0.514 GB, free: 24.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007857/0.7978, allocations: 5.363 MB / 0.5192 GB, free: 18.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.7978, allocations: 3.984 kB / 0.5192 GB, free: 18.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009233/0.7988, allocations: 227.6 kB / 0.5195 GB, free: 18.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002201/0.801, allocations: 1.008 MB / 0.5204 GB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.8011, allocations: 11.98 kB / 0.5205 GB, free: 17.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.8123, allocations: 13.2 MB / 0.5333 GB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8123, allocations: 0 / 0.5333 GB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/0.8179, allocations: 4.183 MB / 0.5374 GB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.8192, allocations: 470.5 kB / 0.5379 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.8195, allocations: 11.98 kB / 0.5379 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.8207, allocations: 72.47 kB / 0.538 GB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/0.8211, allocations: 149.7 kB / 0.5381 GB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.8212, allocations: 55.98 kB / 0.5382 GB, free: 14.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001608/0.8228, allocations: 0.9787 MB / 0.5391 GB, free: 13.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8228, allocations: 0 / 0.5391 GB, free: 13.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002656/0.8255, allocations: 0.6288 MB / 0.5397 GB, free: 13.09 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.000689/0.8262, allocations: 356.9 kB / 0.5401 GB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004645/0.8308, allocations: 2.955 MB / 0.543 GB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.8308, allocations: 4 kB / 0.543 GB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.8338, allocations: 2.012 MB / 0.5449 GB, free: 7.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.836, allocations: 413.5 kB / 0.5453 GB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008312/0.8443, allocations: 4.477 MB / 0.5497 GB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.8463, allocations: 2.013 MB / 0.5517 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001351/0.8477, allocations: 343.8 kB / 0.552 GB, free: 348 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.848, allocations: 111.4 kB / 0.5521 GB, free: 236 kB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.848, allocations: 0 / 0.5521 GB, free: 236 kB / 346.7 MB Notification: Performance of Templates: time 0.2215/1.069, allocations: 32.38 MB / 0.5837 GB, free: 82.64 MB / 346.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)