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.0009411/0.000941, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006468/0.006469, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.522/1.522, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.000608/0.000608, allocations: 8.375 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2243, allocations: 47.59 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.01533/0.2396, allocations: 15.81 MB / 342.8 MB, free: 3.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.2542, allocations: 8.35 MB / 351.2 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/0.2577, allocations: 87.62 kB / 351.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004172/0.2619, allocations: 1.088 MB / 352.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005308/0.2672, allocations: 1.445 MB / 353.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005325/0.2726, allocations: 2.091 MB / 355.9 MB, free: 6.402 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006756/0.2793, allocations: 5.298 MB / 361.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/0.2828, allocations: 2.698 MB / 363.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.2852, allocations: 1.579 MB / 365.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.2879, allocations: 1.995 MB / 367.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005954/0.2885, allocations: 240 kB / 367.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.2901, allocations: 0.5698 MB / 368.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008014/0.2909, allocations: 0.8908 MB / 369.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.2934, allocations: 2.065 MB / 371.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006417/0.2998, allocations: 7.089 MB / 378.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2998, allocations: 0 / 378.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2998, allocations: 0 / 378.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001573/0.3, allocations: 0 / 378.3 MB, free: 15.84 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.01096/0.311, allocations: 4.39 MB / 382.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.311, allocations: 8.031 kB / 382.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005472/0.3165, allocations: 0.991 MB / 383.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/0.3218, allocations: 2.594 MB / 386.3 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.322, allocations: 283.5 kB / 386.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000629/0.3226, allocations: 367.8 kB / 386.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008248/0.3309, allocations: 4.72 MB / 391.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.647e-05/0.331, allocations: 4 kB / 391.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/0.3313, allocations: 156 kB / 391.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.3315, allocations: 159.2 kB / 392 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007044/0.3385, allocations: 4.011 MB / 396 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02733/0.3659, allocations: 16.03 MB / 412 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007428/0.3733, allocations: 7.898 MB / 419.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/0.376, allocations: 1.788 MB / 421.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008173/0.3842, allocations: 5.218 MB / 426.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.3843, allocations: 56.56 kB / 427 MB, free: 13.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=180): time 3.096e-06/0.3843, allocations: 0 / 427 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=183): time 0.01401/0.3983, allocations: 7.23 MB / 434.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.3984, allocations: 180.2 kB / 434.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.4018, allocations: 2.273 MB / 436.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.402, allocations: 61.7 kB / 436.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.4031, allocations: 1.675 MB / 438.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/0.4036, allocations: 0.6122 MB / 439 MB, free: 1.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.4039, allocations: 190.2 kB / 439.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.404, allocations: 305.1 kB / 439.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.4054, allocations: 0.8672 MB / 440.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.4072, allocations: 1.525 MB / 441.9 MB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.4105, allocations: 2.484 MB / 444.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.4105, allocations: 4 kB / 444.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005247/0.4157, allocations: 3.12 MB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005171/0.4163, allocations: 0.6505 MB / 448.1 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/0.4163, allocations: 20 kB / 448.2 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.4174, allocations: 483.7 kB / 448.6 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.4192, allocations: 499.3 kB / 449.1 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1944/0.6136, allocations: 8.061 MB / 457.2 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.6157, allocations: 103.6 kB / 457.3 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.6159, allocations: 94.2 kB / 457.4 MB, free: 104.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.6159, allocations: 5.062 kB / 457.4 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004193/0.6201, allocations: 2.844 MB / 460.2 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/0.6202, allocations: 19.03 kB / 460.2 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009131/0.6211, allocations: 473.3 kB / 460.7 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.6228, allocations: 487.8 kB / 461.2 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005642/0.6284, allocations: 8.082 MB / 469.3 MB, free: 97.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.6303, allocations: 85.16 kB / 469.3 MB, free: 97.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.6304, allocations: 94.59 kB / 469.4 MB, free: 97.64 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.001853/0.6323, allocations: 1.141 MB / 470.6 MB, free: 96.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.6327, allocations: 259.7 kB / 470.8 MB, free: 96.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.6368, allocations: 2.855 MB / 473.7 MB, free: 95.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.6368, allocations: 17.11 kB / 473.7 MB, free: 95.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6368, allocations: 3.938 kB / 473.7 MB, free: 95.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.6368, allocations: 11.56 kB / 473.7 MB, free: 95.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00796/0.6448, allocations: 6.055 MB / 479.8 MB, free: 92.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6448, allocations: 2.719 kB / 479.8 MB, free: 92.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009966/0.6458, allocations: 260.5 kB / 480 MB, free: 92.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.6471, allocations: 0.6611 MB / 480.7 MB, free: 92.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/0.6472, allocations: 44.34 kB / 480.7 MB, free: 92.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008728/0.656, allocations: 12.66 MB / 493.4 MB, free: 78.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.656, allocations: 5.906 kB / 493.4 MB, free: 78.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004946/0.661, allocations: 3.978 MB / 497.4 MB, free: 74.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.662, allocations: 0.5165 MB / 497.9 MB, free: 74.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.6623, allocations: 40 kB / 497.9 MB, free: 74.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.6634, allocations: 90.86 kB / 498 MB, free: 74.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.6636, allocations: 141.4 kB / 498.2 MB, free: 74.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/0.6637, allocations: 44 kB / 498.2 MB, free: 74.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001847/0.6656, allocations: 1.546 MB / 499.7 MB, free: 72.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6656, allocations: 0 / 499.7 MB, free: 72.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003537/0.6691, allocations: 1.286 MB / 0.4893 GB, free: 71.39 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.0003993/0.6695, allocations: 213.9 kB / 0.4895 GB, free: 71.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00532/0.6749, allocations: 4.851 MB / 0.4942 GB, free: 66.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6749, allocations: 1.938 kB / 0.4942 GB, free: 66.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.677, allocations: 1.986 MB / 0.4962 GB, free: 64.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/0.6804, allocations: 0.66 MB / 0.4968 GB, free: 63.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/0.6904, allocations: 8.707 MB / 0.5053 GB, free: 54.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.6921, allocations: 2.508 MB / 0.5078 GB, free: 52.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002247/0.6944, allocations: 0.6141 MB / 0.5084 GB, free: 51.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.6948, allocations: 159.4 kB / 0.5085 GB, free: 51.44 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6948, allocations: 3.938 kB / 0.5085 GB, free: 51.44 MB / 382.1 MB Notification: Performance of Templates: time 0.058/0.7528, allocations: 42.14 MB / 0.5497 GB, free: 9.23 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)