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.00102/0.00102, allocations: 182 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.337/1.337, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001715/0.001715, allocations: 112.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.927e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08264, allocations: 44.51 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3375/0.4202, allocations: 120.7 MB / 470.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.4205, allocations: 89.78 kB / 470.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1466/0.5672, allocations: 55.05 MB / 0.513 GB, free: 6.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5672, allocations: 0 / 0.513 GB, free: 6.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001837/0.5674, allocations: 63.94 kB / 0.513 GB, free: 6.516 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: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.005802/0.5732, allocations: 2.557 MB / 0.5155 GB, free: 3.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5733, allocations: 8.031 kB / 0.5155 GB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.5751, allocations: 432.3 kB / 0.5159 GB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.5788, allocations: 1.703 MB / 0.5176 GB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.579, allocations: 176.7 kB / 0.5178 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004577/0.5794, allocations: 239.9 kB / 0.518 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/0.5846, allocations: 2.944 MB / 0.5209 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-05/0.5847, allocations: 7.906 kB / 0.5209 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/0.585, allocations: 100 kB / 0.521 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.5851, allocations: 96.55 kB / 0.5211 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00401/0.5891, allocations: 2.353 MB / 0.5234 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/0.6051, allocations: 10.08 MB / 0.5332 GB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2013/0.8064, allocations: 2.705 MB / 0.5359 GB, free: 86.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/0.809, allocations: 1.104 MB / 0.5369 GB, free: 86.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/0.8095, allocations: 145.4 kB / 0.5371 GB, free: 86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.8096, allocations: 50.42 kB / 0.5371 GB, free: 85.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 5.16e-06/0.8096, allocations: 0 / 0.5371 GB, free: 85.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.01938/0.829, allocations: 7.314 MB / 0.5443 GB, free: 85.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.8291, allocations: 175 kB / 0.5444 GB, free: 85.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003624/0.8327, allocations: 1.591 MB / 0.546 GB, free: 84.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.833, allocations: 56.2 kB / 0.546 GB, free: 84.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008659/0.8338, allocations: 1.141 MB / 0.5472 GB, free: 84.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005662/0.8344, allocations: 0.5887 MB / 0.5477 GB, free: 84.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.8345, allocations: 37.56 kB / 0.5478 GB, free: 84.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8347, allocations: 382.7 kB / 0.5481 GB, free: 83.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8359, allocations: 0.8866 MB / 0.549 GB, free: 83.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.8372, allocations: 1.311 MB / 0.5503 GB, free: 83.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.8385, allocations: 1.081 MB / 0.5513 GB, free: 83.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.8385, allocations: 5.906 kB / 0.5513 GB, free: 83.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.004818/0.8434, allocations: 3.235 MB / 0.5545 GB, free: 83.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008051/0.8442, allocations: 4.707 MB / 0.5591 GB, free: 78.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.8442, allocations: 15.33 kB / 0.5591 GB, free: 78.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.8463, allocations: 0.9626 MB / 0.56 GB, free: 78.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.8476, allocations: 360.2 kB / 0.5604 GB, free: 78.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.8589, allocations: 11.96 MB / 0.5721 GB, free: 72.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.8609, allocations: 110.7 kB / 0.5722 GB, free: 72.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.8613, allocations: 74 kB / 0.5722 GB, free: 72.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.8613, allocations: 7.062 kB / 0.5723 GB, free: 72.27 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004824/0.8661, allocations: 3.027 MB / 0.5752 GB, free: 71.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.875e-05/0.8662, allocations: 19.16 kB / 0.5752 GB, free: 71.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.8683, allocations: 0.9592 MB / 0.5762 GB, free: 71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.8696, allocations: 359.2 kB / 0.5765 GB, free: 70.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.8808, allocations: 11.96 MB / 0.5882 GB, free: 62.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.8827, allocations: 100.2 kB / 0.5883 GB, free: 62.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.883, allocations: 79.47 kB / 0.5884 GB, free: 62.89 MB / 394.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.0005146/0.8836, allocations: 215.8 kB / 0.5886 GB, free: 62.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006112/0.8842, allocations: 217.4 kB / 0.5888 GB, free: 62.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/0.8891, allocations: 2.922 MB / 0.5916 GB, free: 61.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.8892, allocations: 16.78 kB / 0.5916 GB, free: 61.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.8892, allocations: 8.531 kB / 0.5916 GB, free: 61.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.8892, allocations: 10.58 kB / 0.5917 GB, free: 61.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.8996, allocations: 5.826 MB / 0.5973 GB, free: 59.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.8997, allocations: 6.5 kB / 0.5974 GB, free: 59.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/0.9006, allocations: 220.4 kB / 0.5976 GB, free: 59.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/0.903, allocations: 1.026 MB / 0.5986 GB, free: 58.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.9032, allocations: 42.97 kB / 0.5986 GB, free: 58.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/0.9161, allocations: 13.66 MB / 0.6119 GB, free: 49.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.9162, allocations: 6.188 kB / 0.6119 GB, free: 49.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006214/0.9224, allocations: 4.359 MB / 0.6162 GB, free: 47.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.9236, allocations: 493.8 kB / 0.6167 GB, free: 47.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005104/0.9241, allocations: 43.39 kB / 0.6167 GB, free: 47.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.9255, allocations: 101.1 kB / 0.6168 GB, free: 47.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003498/0.9258, allocations: 138.9 kB / 0.6169 GB, free: 46.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.926, allocations: 59.78 kB / 0.617 GB, free: 46.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001837/0.9278, allocations: 1.21 MB / 0.6182 GB, free: 45.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.9278, allocations: 3.281 kB / 0.6182 GB, free: 45.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004219/0.932, allocations: 1.191 MB / 0.6194 GB, free: 44.59 MB / 394.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.0007318/0.9328, allocations: 365.5 kB / 0.6197 GB, free: 44.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00744/0.9402, allocations: 5.417 MB / 0.625 GB, free: 39.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.9403, allocations: 8.75 kB / 0.625 GB, free: 39.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00289/0.9432, allocations: 2.09 MB / 0.627 GB, free: 37.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/0.9461, allocations: 0.5198 MB / 0.6275 GB, free: 36.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008474/0.9546, allocations: 4.663 MB / 0.6321 GB, free: 32.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.9563, allocations: 2.033 MB / 0.6341 GB, free: 31.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002483/0.9588, allocations: 0.693 MB / 0.6348 GB, free: 30.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.9591, allocations: 99.23 kB / 0.6349 GB, free: 30.57 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.9591, allocations: 0 / 0.6349 GB, free: 30.57 MB / 394.7 MB Notification: Performance of Templates: time 0.07444/1.034, allocations: 48.84 MB / 0.6826 GB, free: 6.488 MB / 410.7 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)