Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009964/0.0009964, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005863/0.005863, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.0005312/0.0005313, allocations: 12 kB / 279.5 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 47.59 MB / 327 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.01491/0.241, allocations: 15.81 MB / 342.8 MB, free: 3.531 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.2561, allocations: 8.354 MB / 351.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003878/0.26, allocations: 87.62 kB / 351.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004553/0.2646, allocations: 1.085 MB / 352.4 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006101/0.2707, allocations: 1.445 MB / 353.8 MB, free: 8.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005808/0.2765, allocations: 2.086 MB / 355.9 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007247/0.2838, allocations: 5.302 MB / 361.2 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003814/0.2876, allocations: 2.698 MB / 363.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.2908, allocations: 1.575 MB / 365.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/0.2939, allocations: 1.999 MB / 367.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006436/0.2946, allocations: 236 kB / 367.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.2962, allocations: 0.5737 MB / 368.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007683/0.297, allocations: 0.8908 MB / 369.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.2992, allocations: 2.057 MB / 371.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.3059, allocations: 7.089 MB / 378.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3059, allocations: 0 / 378.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3059, allocations: 0 / 378.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000164/0.3061, allocations: 4 kB / 378.3 MB, free: 15.87 MB / 318.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.01103/0.3171, allocations: 4.394 MB / 382.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3172, allocations: 8.031 kB / 382.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/0.323, allocations: 0.9872 MB / 383.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006366/0.3294, allocations: 2.59 MB / 386.3 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.3297, allocations: 287.5 kB / 386.6 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007246/0.3304, allocations: 367.8 kB / 386.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008934/0.3394, allocations: 4.728 MB / 391.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.094e-05/0.3395, allocations: 4 kB / 391.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003467/0.3398, allocations: 156 kB / 391.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.34, allocations: 155.3 kB / 392 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007581/0.3476, allocations: 4.01 MB / 396 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02466/0.3723, allocations: 16.04 MB / 412 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007219/0.3795, allocations: 7.89 MB / 419.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.3827, allocations: 1.784 MB / 421.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/0.3952, allocations: 5.222 MB / 426.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.629e-05/0.3953, allocations: 52.56 kB / 427 MB, free: 13.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=180): time 6.011e-06/0.3954, allocations: 0 / 427 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=183): time 0.01486/0.4102, allocations: 7.238 MB / 434.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.4104, allocations: 176.2 kB / 434.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/0.4138, allocations: 2.269 MB / 436.7 MB, free: 3.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.4141, allocations: 61.7 kB / 436.7 MB, free: 3.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.4152, allocations: 1.679 MB / 438.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006374/0.4159, allocations: 0.6161 MB / 439 MB, free: 1.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.4161, allocations: 186.2 kB / 439.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.4162, allocations: 305.1 kB / 439.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.4177, allocations: 0.8712 MB / 440.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.4195, allocations: 1.525 MB / 441.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003458/0.423, allocations: 2.48 MB / 444.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.423, allocations: 4 kB / 444.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005303/0.4283, allocations: 3.12 MB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004501/0.4288, allocations: 0.647 MB / 448.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.805e-05/0.4289, allocations: 20 kB / 448.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.43, allocations: 475.8 kB / 448.6 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.4318, allocations: 499.3 kB / 449.1 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1968/0.6287, allocations: 8.066 MB / 457.2 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.6309, allocations: 104.5 kB / 457.3 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000345/0.6313, allocations: 95.47 kB / 457.4 MB, free: 104.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6313, allocations: 5.156 kB / 457.4 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00523/0.6365, allocations: 2.848 MB / 460.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.324e-05/0.6366, allocations: 20.12 kB / 460.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009706/0.6376, allocations: 473.7 kB / 460.7 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.6395, allocations: 482.9 kB / 461.2 MB, free: 104.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/0.6455, allocations: 8.073 MB / 469.2 MB, free: 97.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.6477, allocations: 91.14 kB / 469.3 MB, free: 97.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.6479, allocations: 94.84 kB / 469.4 MB, free: 97.59 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 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].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 (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001927/0.6498, allocations: 1.144 MB / 470.6 MB, free: 96.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/0.6504, allocations: 260.5 kB / 470.8 MB, free: 96.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/0.6546, allocations: 2.856 MB / 473.7 MB, free: 95.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.6546, allocations: 16.8 kB / 473.7 MB, free: 95.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6546, allocations: 7.625 kB / 473.7 MB, free: 95.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.6546, allocations: 7.406 kB / 473.7 MB, free: 95.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007379/0.662, allocations: 6.061 MB / 479.8 MB, free: 92.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6621, allocations: 3.969 kB / 479.8 MB, free: 92.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.6631, allocations: 260.7 kB / 480 MB, free: 92.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.6645, allocations: 0.6535 MB / 480.7 MB, free: 92.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/0.6646, allocations: 44.28 kB / 480.7 MB, free: 92.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008931/0.6735, allocations: 12.65 MB / 493.4 MB, free: 78.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6735, allocations: 4 kB / 493.4 MB, free: 78.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.6785, allocations: 3.991 MB / 497.4 MB, free: 74.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.6796, allocations: 0.5128 MB / 497.9 MB, free: 74.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.6799, allocations: 40 kB / 497.9 MB, free: 74.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.681, allocations: 91.73 kB / 498 MB, free: 74.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.6813, allocations: 137.7 kB / 498.2 MB, free: 74.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.6814, allocations: 48 kB / 498.2 MB, free: 74.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001837/0.6832, allocations: 1.546 MB / 499.8 MB, free: 72.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6833, allocations: 2 kB / 499.8 MB, free: 72.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00348/0.6867, allocations: 1.282 MB / 0.4893 GB, free: 71.43 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003961/0.6871, allocations: 221 kB / 0.4895 GB, free: 71.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005449/0.6926, allocations: 4.846 MB / 0.4942 GB, free: 66.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6926, allocations: 1.938 kB / 0.4942 GB, free: 66.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.6948, allocations: 1.993 MB / 0.4962 GB, free: 64.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/0.6982, allocations: 0.6597 MB / 0.4968 GB, free: 63.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.7093, allocations: 8.707 MB / 0.5053 GB, free: 54.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.7109, allocations: 2.508 MB / 0.5078 GB, free: 52.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002179/0.7131, allocations: 0.6102 MB / 0.5084 GB, free: 51.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/0.7135, allocations: 159.4 kB / 0.5085 GB, free: 51.49 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7135, allocations: 0 / 0.5085 GB, free: 51.49 MB / 382.1 MB Notification: Performance of Templates: time 0.05794/0.7715, allocations: 42.14 MB / 0.5497 GB, free: 9.289 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)