Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001005/0.001005, allocations: 188.6 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.297/1.297, allocations: 194.3 MB / 203.1 MB, free: 9.258 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.001691/0.001691, allocations: 126 kB / 248.1 MB, free: 6.371 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.899e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08154, allocations: 44.49 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2838/0.3654, allocations: 120 MB / 462.6 MB, free: 8.594 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.3657, allocations: 89.75 kB / 462.7 MB, free: 8.547 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1453/0.5111, allocations: 54.34 MB / 0.5049 GB, free: 8.828 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5111, allocations: 0 / 0.5049 GB, free: 8.828 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002623/0.5114, allocations: 71.88 kB / 0.505 GB, free: 8.758 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: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.00644/0.5178, allocations: 2.551 MB / 0.5075 GB, free: 6.148 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5179, allocations: 8.031 kB / 0.5075 GB, free: 6.141 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.52, allocations: 432.3 kB / 0.5079 GB, free: 5.715 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004057/0.524, allocations: 1.711 MB / 0.5096 GB, free: 3.949 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.5242, allocations: 76 kB / 0.5096 GB, free: 3.875 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007189/0.5249, allocations: 147.9 kB / 0.5098 GB, free: 3.73 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004918/0.5298, allocations: 2.216 MB / 0.5119 GB, free: 1.508 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.192/0.7218, allocations: 2.589 MB / 0.5145 GB, free: 77.65 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.271e-05/0.7219, allocations: 11.19 kB / 0.5145 GB, free: 77.65 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.7221, allocations: 3.312 kB / 0.5145 GB, free: 77.65 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.426e-05/0.7222, allocations: 96.41 kB / 0.5146 GB, free: 77.64 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/0.7355, allocations: 9.619 MB / 0.524 GB, free: 75.11 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/0.7379, allocations: 2.644 MB / 0.5266 GB, free: 74.13 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.7391, allocations: 1.087 MB / 0.5276 GB, free: 74.12 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.7394, allocations: 146.7 kB / 0.5278 GB, free: 74.02 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7395, allocations: 50.34 kB / 0.5278 GB, free: 73.98 MB / 395.1 MB Notification: Performance of pre-optimization done (n=151): time 4.117e-06/0.7395, allocations: 0 / 0.5278 GB, free: 73.98 MB / 395.1 MB Notification: Performance of matching and sorting (n=174): time 0.009397/0.7489, allocations: 5.744 MB / 0.5334 GB, free: 73.16 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.749, allocations: 175.2 kB / 0.5336 GB, free: 72.97 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.7508, allocations: 1.303 MB / 0.5348 GB, free: 72.82 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.7509, allocations: 27.14 kB / 0.5349 GB, free: 72.79 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000676/0.7516, allocations: 1.153 MB / 0.536 GB, free: 72.39 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/0.752, allocations: 0.5634 MB / 0.5366 GB, free: 72.02 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.7521, allocations: 2.5 kB / 0.5366 GB, free: 72.02 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7523, allocations: 380.2 kB / 0.5369 GB, free: 71.71 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.7534, allocations: 0.8425 MB / 0.5377 GB, free: 71.71 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.7548, allocations: 1.263 MB / 0.539 GB, free: 71.25 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.7564, allocations: 1.04 MB / 0.54 GB, free: 71.23 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.7564, allocations: 8.328 kB / 0.54 GB, free: 71.22 MB / 395.1 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005197/0.7616, allocations: 3.031 MB / 0.543 GB, free: 70.98 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00073/0.7624, allocations: 4.65 MB / 0.5475 GB, free: 66.06 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/0.7624, allocations: 13.7 kB / 0.5475 GB, free: 66.06 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/0.7648, allocations: 0.9434 MB / 0.5484 GB, free: 66.02 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.7663, allocations: 372.6 kB / 0.5488 GB, free: 66.02 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.778, allocations: 11.55 MB / 0.5601 GB, free: 58.75 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.7798, allocations: 72.5 kB / 0.5601 GB, free: 58.74 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.7801, allocations: 81.47 kB / 0.5602 GB, free: 58.73 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.7801, allocations: 4.125 kB / 0.5602 GB, free: 58.73 MB / 395.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004557/0.7847, allocations: 2.785 MB / 0.5629 GB, free: 57.83 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/0.7847, allocations: 16.91 kB / 0.563 GB, free: 57.83 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.7867, allocations: 0.9519 MB / 0.5639 GB, free: 57.57 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.7879, allocations: 356.1 kB / 0.5642 GB, free: 57.56 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.798, allocations: 11.54 MB / 0.5755 GB, free: 49.79 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.7997, allocations: 68.53 kB / 0.5756 GB, free: 49.79 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.7999, allocations: 74.69 kB / 0.5756 GB, free: 49.77 MB / 395.1 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.0004892/0.8004, allocations: 154.8 kB / 0.5758 GB, free: 49.63 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.8007, allocations: 193.7 kB / 0.576 GB, free: 49.53 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.8048, allocations: 2.743 MB / 0.5786 GB, free: 48.49 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.8048, allocations: 18.34 kB / 0.5787 GB, free: 48.49 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.8049, allocations: 5.906 kB / 0.5787 GB, free: 48.49 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.8049, allocations: 7.688 kB / 0.5787 GB, free: 48.49 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008824/0.8137, allocations: 5.354 MB / 0.5839 GB, free: 46.37 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.8138, allocations: 5.625 kB / 0.5839 GB, free: 46.37 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/0.8147, allocations: 225.5 kB / 0.5841 GB, free: 46.35 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/0.817, allocations: 1.018 MB / 0.5851 GB, free: 46.05 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.8172, allocations: 16.48 kB / 0.5851 GB, free: 46.05 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/0.8289, allocations: 13.19 MB / 0.598 GB, free: 36.89 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.829, allocations: 1.25 kB / 0.598 GB, free: 36.89 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0057/0.8347, allocations: 4.182 MB / 0.6021 GB, free: 35.02 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.8358, allocations: 469.7 kB / 0.6025 GB, free: 34.72 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005437/0.8363, allocations: 10.27 kB / 0.6026 GB, free: 34.72 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.8377, allocations: 73.55 kB / 0.6026 GB, free: 34.71 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/0.838, allocations: 139.6 kB / 0.6028 GB, free: 34.7 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.8381, allocations: 48.12 kB / 0.6028 GB, free: 34.68 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.8397, allocations: 0.9829 MB / 0.6038 GB, free: 34.27 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8397, allocations: 4 kB / 0.6038 GB, free: 34.26 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004078/0.8438, allocations: 1.031 MB / 0.6048 GB, free: 34.25 MB / 395.1 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.0006453/0.8445, allocations: 353.1 kB / 0.6051 GB, free: 34.12 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.006896/0.8514, allocations: 5.17 MB / 0.6102 GB, free: 31.46 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8514, allocations: 3.531 kB / 0.6102 GB, free: 31.46 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00259/0.854, allocations: 1.996 MB / 0.6121 GB, free: 30.39 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.8563, allocations: 420.4 kB / 0.6125 GB, free: 30.28 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007747/0.864, allocations: 4.541 MB / 0.6169 GB, free: 28.34 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.8658, allocations: 2.033 MB / 0.6189 GB, free: 27.42 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.002387/0.8682, allocations: 0.6344 MB / 0.6195 GB, free: 27.36 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.8685, allocations: 98.5 kB / 0.6196 GB, free: 27.34 MB / 395.1 MB Notification: Performance of SimCode: time 8.72e-07/0.8686, allocations: 0 / 0.6196 GB, free: 27.34 MB / 395.1 MB Notification: Performance of Templates: time 0.2836/1.152, allocations: 40.54 MB / 0.6592 GB, free: 69.91 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)