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.001735/0.001735, allocations: 182.3 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.594/1.594, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001689/0.001689, allocations: 118.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.399e-05, allocations: 7.984 kB / 304.9 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07003/0.07007, allocations: 44.5 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.352/0.4221, allocations: 125.2 MB / 474.7 MB, free: 3.074 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.4224, allocations: 88.45 kB / 474.8 MB, free: 3.027 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4222/0.8446, allocations: 95.33 MB / 0.5567 GB, free: 73.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8446, allocations: 0 / 0.5567 GB, free: 73.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002742/0.8449, allocations: 93.34 kB / 0.5568 GB, free: 73.5 MB / 394.7 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.009735/0.8547, allocations: 3.704 MB / 0.5604 GB, free: 72.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.8547, allocations: 7.406 kB / 0.5604 GB, free: 72.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.8599, allocations: 0.9053 MB / 0.5613 GB, free: 71.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009532/0.8695, allocations: 3.594 MB / 0.5648 GB, free: 71.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/0.8698, allocations: 273.3 kB / 0.5651 GB, free: 71.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.8709, allocations: 368.3 kB / 0.5654 GB, free: 71.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00735/0.8782, allocations: 4.529 MB / 0.5699 GB, free: 70.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-05/0.8784, allocations: 9.094 kB / 0.5699 GB, free: 70.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003407/0.8787, allocations: 155 kB / 0.57 GB, free: 70.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.8788, allocations: 153 kB / 0.5702 GB, free: 70.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005789/0.8846, allocations: 3.684 MB / 0.5738 GB, free: 70.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.9075, allocations: 15.77 MB / 0.5892 GB, free: 63.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005679/0.9132, allocations: 7.77 MB / 0.5968 GB, free: 56.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/0.9157, allocations: 1.714 MB / 0.5984 GB, free: 56.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007693/0.9234, allocations: 5.04 MB / 0.6034 GB, free: 53.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.9235, allocations: 59.09 kB / 0.6034 GB, free: 53.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=172): time 4.248e-06/0.9235, allocations: 3.938 kB / 0.6034 GB, free: 53.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=175): time 0.008025/0.9315, allocations: 5.04 MB / 0.6083 GB, free: 50.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.9316, allocations: 175.1 kB / 0.6085 GB, free: 50.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.9343, allocations: 1.886 MB / 0.6103 GB, free: 49.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.9344, allocations: 57.05 kB / 0.6104 GB, free: 49.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000825/0.9352, allocations: 1.677 MB / 0.612 GB, free: 48.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.9356, allocations: 0.5968 MB / 0.6126 GB, free: 48.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.235e-05/0.9357, allocations: 43.53 kB / 0.6127 GB, free: 47.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9358, allocations: 393.9 kB / 0.613 GB, free: 47.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.9369, allocations: 0.7991 MB / 0.6138 GB, free: 47.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.9382, allocations: 1.423 MB / 0.6152 GB, free: 46.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.9395, allocations: 1.051 MB / 0.6162 GB, free: 45.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.9395, allocations: 7.562 kB / 0.6162 GB, free: 45.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.0042/0.9437, allocations: 2.937 MB / 0.6191 GB, free: 44.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001196/0.945, allocations: 7.632 MB / 0.6266 GB, free: 36.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/0.945, allocations: 22.28 kB / 0.6266 GB, free: 36.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009348/0.946, allocations: 474.2 kB / 0.627 GB, free: 35.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.9476, allocations: 476.4 kB / 0.6275 GB, free: 35.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.9532, allocations: 8.04 MB / 0.6353 GB, free: 29.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.9556, allocations: 105.7 kB / 0.6354 GB, free: 29.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.9558, allocations: 92.23 kB / 0.6355 GB, free: 29.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.9558, allocations: 3.656 kB / 0.6355 GB, free: 29.3 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003605/0.9594, allocations: 2.705 MB / 0.6382 GB, free: 26.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.9595, allocations: 20 kB / 0.6382 GB, free: 26.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008169/0.9603, allocations: 470.1 kB / 0.6386 GB, free: 26.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.9618, allocations: 474 kB / 0.6391 GB, free: 26.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005443/0.9673, allocations: 8.039 MB / 0.6469 GB, free: 18.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.9693, allocations: 98.67 kB / 0.647 GB, free: 17.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.9695, allocations: 94.28 kB / 0.6471 GB, free: 17.9 MB / 394.7 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.0005096/0.97, allocations: 248.8 kB / 0.6474 GB, free: 17.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.9704, allocations: 249 kB / 0.6476 GB, free: 17.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.9745, allocations: 2.703 MB / 0.6502 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.9746, allocations: 16 kB / 0.6503 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.9746, allocations: 11.14 kB / 0.6503 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.9746, allocations: 11.17 kB / 0.6503 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008031/0.9826, allocations: 5.832 MB / 0.656 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.9827, allocations: 4.219 kB / 0.656 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.9837, allocations: 240.1 kB / 0.6562 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.9851, allocations: 0.6474 MB / 0.6568 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.9852, allocations: 43.8 kB / 0.6569 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009922/0.9951, allocations: 12.53 MB / 0.6691 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9952, allocations: 6.812 kB / 0.6691 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/1.001, allocations: 3.892 MB / 0.6729 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.003, allocations: 0.4934 MB / 0.6734 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/1.003, allocations: 43.94 kB / 0.6735 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.004, allocations: 85.31 kB / 0.6735 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/1.004, allocations: 135.2 kB / 0.6737 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.005, allocations: 51.94 kB / 0.6737 GB, free: 8.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002295/1.007, allocations: 1.43 MB / 0.6751 GB, free: 7.188 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.007, allocations: 4 kB / 0.6751 GB, free: 7.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004524/1.011, allocations: 1.327 MB / 0.6764 GB, free: 5.863 MB / 410.7 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.00112/1.013, allocations: 0.5035 MB / 0.6769 GB, free: 5.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006945/1.019, allocations: 4.696 MB / 0.6815 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.02, allocations: 0 / 0.6815 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2063/1.226, allocations: 1.907 MB / 0.6833 GB, free: 77.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/1.229, allocations: 0.6265 MB / 0.684 GB, free: 77.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.24, allocations: 5.556 MB / 0.6894 GB, free: 76.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00269/1.243, allocations: 2.573 MB / 0.6919 GB, free: 75.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003489/1.247, allocations: 0.8427 MB / 0.6927 GB, free: 75.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/1.247, allocations: 118.3 kB / 0.6928 GB, free: 75.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/1.247, allocations: 3.969 kB / 0.6928 GB, free: 75.92 MB / 410.7 MB Notification: Performance of Templates: time 0.07093/1.318, allocations: 47.62 MB / 0.7393 GB, free: 73.19 MB / 410.7 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)