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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009623/0.0009624, allocations: 94.08 kB / 16.3 MB, free: 5.996 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.00104/0.00104, allocations: 179.8 kB / 17.2 MB, free: 5.898 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.319/1.319, allocations: 205.4 MB / 223.3 MB, free: 13.19 MB / 190.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.000488/0.0004883, allocations: 15.28 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09743, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.01457/0.112, allocations: 13.51 MB / 341.2 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01467/0.1268, allocations: 7.802 MB / 349 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.1303, allocations: 87.62 kB / 349.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.1342, allocations: 0.9366 MB / 350 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006278/0.1406, allocations: 1.472 MB / 351.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006691/0.1473, allocations: 1.754 MB / 353.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007972/0.1553, allocations: 3.398 MB / 356.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004707/0.16, allocations: 2.247 MB / 358.9 MB, free: 4.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.1629, allocations: 1.514 MB / 360.4 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003066/0.166, allocations: 1.739 MB / 362.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.1671, allocations: 239.9 kB / 362.4 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.1698, allocations: 0.5035 MB / 362.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.1715, allocations: 0.837 MB / 363.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.1733, allocations: 0.8551 MB / 364.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008041/0.1813, allocations: 6.081 MB / 370.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1814, allocations: 0 / 370.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1814, allocations: 0 / 370.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002747/0.1817, allocations: 0 / 370.7 MB, free: 8.961 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.014/0.1957, allocations: 4.417 MB / 375.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.1957, allocations: 12.03 kB / 375.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006747/0.2025, allocations: 0.9901 MB / 376.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007781/0.2103, allocations: 2.532 MB / 378.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004085/0.2108, allocations: 283.4 kB / 378.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.2127, allocations: 367.9 kB / 379.3 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.226/0.4386, allocations: 4.661 MB / 383.9 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.4388, allocations: 2.969 kB / 383.9 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004967/0.4393, allocations: 154.2 kB / 384.1 MB, free: 45.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003121/0.4396, allocations: 152.6 kB / 384.2 MB, free: 45.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009694/0.4493, allocations: 3.987 MB / 388.2 MB, free: 44.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03079/0.4802, allocations: 16.01 MB / 404.2 MB, free: 33.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005856/0.4861, allocations: 7.879 MB / 412.1 MB, free: 26.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006923/0.4931, allocations: 4.355 MB / 416.5 MB, free: 22.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.4931, allocations: 58.28 kB / 416.5 MB, free: 22.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=190): time 4.107e-06/0.4932, allocations: 0 / 416.5 MB, free: 22.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=194): time 0.01259/0.5058, allocations: 7.424 MB / 423.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.5059, allocations: 176.2 kB / 424.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.5086, allocations: 2.221 MB / 426.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.5088, allocations: 57.7 kB / 426.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/0.5096, allocations: 1.656 MB / 428 MB, free: 10.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.51, allocations: 0.6585 MB / 428.7 MB, free: 9.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.5101, allocations: 48 kB / 428.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5102, allocations: 394.6 kB / 429.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.5114, allocations: 0.8908 MB / 430 MB, free: 8.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.5128, allocations: 1.518 MB / 431.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.5142, allocations: 1.142 MB / 432.7 MB, free: 5.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.5142, allocations: 8 kB / 432.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.004514/0.5187, allocations: 3.227 MB / 435.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002956/0.5217, allocations: 7.468 MB / 443.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.343e-05/0.5218, allocations: 16 kB / 443.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.523, allocations: 479.5 kB / 443.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.525, allocations: 0.4953 MB / 444.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008711/0.5338, allocations: 8.191 MB / 452.6 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.5362, allocations: 100.1 kB / 452.7 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.5364, allocations: 95.98 kB / 452.7 MB, free: 176 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5364, allocations: 4.781 kB / 452.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004883/0.5413, allocations: 2.946 MB / 455.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-05/0.5414, allocations: 20 kB / 455.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.5424, allocations: 472.6 kB / 456.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.5443, allocations: 0.4954 MB / 456.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008043/0.5524, allocations: 8.181 MB / 464.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.5544, allocations: 88.14 kB / 464.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.5546, allocations: 99.98 kB / 465 MB, free: 3.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (265): * Single equations (assignments): 258 * 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.002738/0.5574, allocations: 1.149 MB / 466.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008296/0.5582, allocations: 260.9 kB / 466.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005603/0.5638, allocations: 2.863 MB / 469.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.5639, allocations: 16 kB / 469.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/0.5639, allocations: 8 kB / 469.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.5639, allocations: 11.95 kB / 469.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.576, allocations: 6.346 MB / 475.7 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5761, allocations: 4.125 kB / 475.7 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.5773, allocations: 279.7 kB / 476 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.5789, allocations: 0.6604 MB / 476.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.579, allocations: 47.98 kB / 476.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.5921, allocations: 12.8 MB / 489.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5921, allocations: 7.938 kB / 489.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006725/0.5989, allocations: 4.347 MB / 493.8 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/0.6004, allocations: 0.5251 MB / 494.4 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.6007, allocations: 40 kB / 494.4 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.6018, allocations: 91.94 kB / 494.5 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.6022, allocations: 149.7 kB / 494.6 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.6023, allocations: 54.06 kB / 494.7 MB, free: 4.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002302/0.6046, allocations: 1.499 MB / 496.2 MB, free: 2.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6046, allocations: 4 kB / 496.2 MB, free: 2.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004233/0.6089, allocations: 1.29 MB / 497.5 MB, free: 1.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (141): * Single equations (assignments): 135 * 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.0006549/0.6095, allocations: 221.9 kB / 497.7 MB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007357/0.6169, allocations: 4.939 MB / 0.4908 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6169, allocations: 4.125 kB / 0.4909 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/0.6201, allocations: 2.05 MB / 0.4929 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/0.6235, allocations: 0.642 MB / 0.4935 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.6368, allocations: 8.362 MB / 0.5016 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/0.6392, allocations: 2.586 MB / 0.5042 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002533/0.6417, allocations: 0.6182 MB / 0.5048 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.6422, allocations: 155.4 kB / 0.5049 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6422, allocations: 0 / 0.5049 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Templates: time 0.2669/0.9091, allocations: 41.24 MB / 0.5452 GB, free: 138.5 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: