Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008686/0.0008686, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007002/0.0007003, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2696, allocations: 47.59 MB / 326.5 MB, free: 1.547 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.01535/0.285, allocations: 14.74 MB / 341.2 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.3002, allocations: 7.687 MB / 348.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003083/0.3033, allocations: 87.62 kB / 349 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003251/0.3066, allocations: 0.9478 MB / 349.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005042/0.3116, allocations: 1.317 MB / 351.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005967/0.3176, allocations: 1.817 MB / 353.1 MB, free: 8.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00835/0.326, allocations: 4.951 MB / 358 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005245/0.3313, allocations: 2.251 MB / 360.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.3347, allocations: 1.541 MB / 361.8 MB, free: 92 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003258/0.3379, allocations: 1.902 MB / 363.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006383/0.3386, allocations: 236 kB / 364 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.3402, allocations: 0.5463 MB / 364.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007974/0.341, allocations: 0.8717 MB / 365.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.3422, allocations: 0.8551 MB / 366.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006064/0.3483, allocations: 6.093 MB / 372.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.3483, allocations: 4 kB / 372.3 MB, free: 5.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3483, allocations: 0 / 372.3 MB, free: 5.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.3485, allocations: 3.938 kB / 372.3 MB, free: 5.547 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01076/0.3593, allocations: 4.433 MB / 376.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3593, allocations: 8.031 kB / 376.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/0.3645, allocations: 0.9979 MB / 377.8 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004856/0.3693, allocations: 2.513 MB / 380.3 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.3696, allocations: 275.4 kB / 380.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005454/0.3701, allocations: 375.9 kB / 380.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008126/0.3782, allocations: 4.697 MB / 385.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.229e-05/0.3783, allocations: 3.938 kB / 385.6 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.3787, allocations: 152 kB / 385.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.3789, allocations: 159.2 kB / 385.9 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006925/0.3858, allocations: 3.979 MB / 389.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.4088, allocations: 16.03 MB / 405.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00738/0.4162, allocations: 7.886 MB / 413.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.4189, allocations: 1.784 MB / 415.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008371/0.4273, allocations: 5.215 MB / 420.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.4274, allocations: 52.56 kB / 420.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=180): time 3.206e-06/0.4274, allocations: 0 / 420.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=183): time 0.01308/0.4405, allocations: 7.226 MB / 428.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.4406, allocations: 172.2 kB / 428.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.4437, allocations: 2.246 MB / 430.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.4438, allocations: 57.7 kB / 430.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.445, allocations: 1.69 MB / 432.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.4455, allocations: 0.6161 MB / 432.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.4456, allocations: 44 kB / 432.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4457, allocations: 394.5 kB / 433.3 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.4471, allocations: 0.8555 MB / 434.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.4488, allocations: 1.517 MB / 435.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.4504, allocations: 1.107 MB / 436.8 MB, free: 2.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4505, allocations: 4 kB / 436.8 MB, free: 2.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.004608/0.4551, allocations: 3.097 MB / 439.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.4555, allocations: 0.6502 MB / 440.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.4555, allocations: 24.05 kB / 440.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.4565, allocations: 475.8 kB / 441 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.4583, allocations: 499.2 kB / 441.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/0.4657, allocations: 8.061 MB / 449.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.4674, allocations: 111.9 kB / 449.7 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.4676, allocations: 88 kB / 449.8 MB, free: 4.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.4676, allocations: 4 kB / 449.8 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004151/0.4718, allocations: 2.821 MB / 452.6 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/0.4718, allocations: 23.98 kB / 452.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009047/0.4727, allocations: 472.2 kB / 453.1 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4744, allocations: 491.2 kB / 453.5 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1814/0.6558, allocations: 8.066 MB / 461.6 MB, free: 101.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.6579, allocations: 87.11 kB / 461.7 MB, free: 101.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.6581, allocations: 92.62 kB / 461.8 MB, free: 101.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 251 * 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.002185/0.6603, allocations: 1.149 MB / 462.9 MB, free: 100.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005176/0.6608, allocations: 261.4 kB / 463.2 MB, free: 100.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.6654, allocations: 2.836 MB / 466 MB, free: 99.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6655, allocations: 19.75 kB / 466 MB, free: 99.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.597e-06/0.6655, allocations: 3.969 kB / 466 MB, free: 99.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.6655, allocations: 11.45 kB / 466.1 MB, free: 99.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.673, allocations: 6.047 MB / 472.1 MB, free: 96.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.673, allocations: 6 kB / 472.1 MB, free: 96.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.6741, allocations: 257.3 kB / 472.4 MB, free: 96.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.6754, allocations: 0.6563 MB / 473 MB, free: 96.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.45e-05/0.6755, allocations: 41.89 kB / 473.1 MB, free: 96.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009037/0.6845, allocations: 12.63 MB / 485.7 MB, free: 85.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6845, allocations: 3.906 kB / 485.7 MB, free: 85.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004715/0.6893, allocations: 3.972 MB / 489.7 MB, free: 82.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000897/0.6902, allocations: 0.5152 MB / 490.2 MB, free: 82.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.6905, allocations: 40 kB / 490.2 MB, free: 82.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009722/0.6914, allocations: 91.67 kB / 490.3 MB, free: 82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.6917, allocations: 137 kB / 490.4 MB, free: 81.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/0.6918, allocations: 51.92 kB / 490.5 MB, free: 81.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001919/0.6937, allocations: 1.522 MB / 492 MB, free: 80.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6937, allocations: 0 / 492 MB, free: 80.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003532/0.6973, allocations: 1.287 MB / 493.3 MB, free: 79 MB / 382.1 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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 124 * 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.0003786/0.6976, allocations: 213 kB / 493.5 MB, free: 78.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005202/0.7029, allocations: 4.825 MB / 498.3 MB, free: 73.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7029, allocations: 0 / 498.3 MB, free: 73.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.705, allocations: 1.98 MB / 0.4886 GB, free: 71.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.7076, allocations: 0.6747 MB / 0.4893 GB, free: 71.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.7178, allocations: 8.294 MB / 0.4974 GB, free: 62.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.7195, allocations: 2.512 MB / 0.4998 GB, free: 60.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002195/0.7217, allocations: 0.6063 MB / 0.5004 GB, free: 59.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.7221, allocations: 155.4 kB / 0.5005 GB, free: 59.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7221, allocations: 0 / 0.5005 GB, free: 59.54 MB / 382.1 MB Notification: Performance of Templates: time 0.05417/0.7762, allocations: 41.13 MB / 0.5407 GB, free: 18.35 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)