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.001151/0.001151, allocations: 85.44 kB / 16.31 MB, free: 6.457 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.0013/0.0013, allocations: 182.6 kB / 17.21 MB, free: 6.324 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.39/1.39, allocations: 205.4 MB / 223.4 MB, free: 5.582 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.0006964/0.0006965, allocations: 14.81 kB / 280.2 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2491, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.01582/0.265, allocations: 14.74 MB / 342.5 MB, free: 4.734 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.2801, allocations: 7.691 MB / 350.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003614/0.2838, allocations: 83.69 kB / 350.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003313/0.2871, allocations: 0.94 MB / 351.2 MB, free: 12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.2919, allocations: 1.336 MB / 352.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005506/0.2974, allocations: 1.801 MB / 354.3 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007136/0.3046, allocations: 4.955 MB / 359.3 MB, free: 3.879 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004661/0.3092, allocations: 2.247 MB / 361.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.3127, allocations: 1.548 MB / 363.1 MB, free: 32 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.3163, allocations: 1.898 MB / 365 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.3175, allocations: 232 kB / 365.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.3199, allocations: 0.5424 MB / 365.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.3215, allocations: 0.8794 MB / 366.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.3234, allocations: 0.8551 MB / 367.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007431/0.3308, allocations: 6.1 MB / 373.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.3309, allocations: 4 kB / 373.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3309, allocations: 0 / 373.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002308/0.3311, allocations: 0 / 373.6 MB, free: 5.488 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.01168/0.3428, allocations: 4.433 MB / 378 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3428, allocations: 8.031 kB / 378 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006235/0.3491, allocations: 0.9979 MB / 379 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005693/0.3548, allocations: 2.509 MB / 381.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.3551, allocations: 271.4 kB / 381.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009293/0.356, allocations: 379.9 kB / 382.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009097/0.3651, allocations: 4.701 MB / 386.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.3652, allocations: 3.938 kB / 386.9 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003384/0.3656, allocations: 152 kB / 387 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/0.3657, allocations: 155.2 kB / 387.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007617/0.3734, allocations: 3.983 MB / 391.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.3999, allocations: 16.03 MB / 407.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008487/0.4084, allocations: 7.886 MB / 415.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003217/0.4117, allocations: 1.776 MB / 416.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00976/0.4215, allocations: 5.219 MB / 422.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.4216, allocations: 60.55 kB / 422.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=180): time 3.326e-06/0.4216, allocations: 3.938 kB / 422.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=183): time 0.01448/0.4361, allocations: 7.211 MB / 429.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.4362, allocations: 176.2 kB / 429.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.4399, allocations: 2.246 MB / 431.8 MB, free: 9.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.4401, allocations: 57.7 kB / 431.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.4414, allocations: 1.686 MB / 433.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/0.442, allocations: 0.6161 MB / 434.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.4421, allocations: 48 kB / 434.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.4423, allocations: 390.5 kB / 434.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.4439, allocations: 0.8633 MB / 435.4 MB, free: 5.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.4459, allocations: 1.513 MB / 436.9 MB, free: 3.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.4478, allocations: 1.107 MB / 438 MB, free: 2.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.4478, allocations: 4 kB / 438 MB, free: 2.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005445/0.4533, allocations: 3.093 MB / 441.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000509/0.4538, allocations: 0.6577 MB / 441.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.892e-05/0.4539, allocations: 20 kB / 441.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.455, allocations: 475.8 kB / 442.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.4569, allocations: 499.2 kB / 442.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008256/0.4652, allocations: 8.068 MB / 450.8 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.4672, allocations: 99.95 kB / 450.9 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000324/0.4675, allocations: 92 kB / 451 MB, free: 4.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.4676, allocations: 4 kB / 451 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005194/0.4728, allocations: 2.828 MB / 453.8 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-05/0.4728, allocations: 20 kB / 453.9 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.474, allocations: 468.3 kB / 454.3 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.4759, allocations: 487.2 kB / 454.8 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1885/0.6644, allocations: 8.065 MB / 462.9 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.6662, allocations: 86.33 kB / 462.9 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.6664, allocations: 96.12 kB / 463 MB, free: 101 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.001804/0.6682, allocations: 1.15 MB / 464.2 MB, free: 100.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.6686, allocations: 260.5 kB / 464.4 MB, free: 100.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/0.6727, allocations: 2.832 MB / 467.3 MB, free: 99.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.6727, allocations: 29.97 kB / 467.3 MB, free: 99.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6728, allocations: 3.938 kB / 467.3 MB, free: 99.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.6728, allocations: 11.27 kB / 467.3 MB, free: 99.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007168/0.6799, allocations: 6.046 MB / 473.4 MB, free: 96.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.68, allocations: 2.312 kB / 473.4 MB, free: 96.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.681, allocations: 261.6 kB / 473.6 MB, free: 96.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.6824, allocations: 0.6515 MB / 474.3 MB, free: 96.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.6825, allocations: 42.78 kB / 474.3 MB, free: 96.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009031/0.6915, allocations: 12.64 MB / 487 MB, free: 85.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6915, allocations: 3.562 kB / 487 MB, free: 85.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/0.6967, allocations: 3.964 MB / 490.9 MB, free: 82.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.6978, allocations: 0.5112 MB / 491.4 MB, free: 82.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006101/0.6985, allocations: 43.98 kB / 491.5 MB, free: 82.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.6998, allocations: 96.7 kB / 491.6 MB, free: 82.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/0.7001, allocations: 137 kB / 491.7 MB, free: 81.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/0.7002, allocations: 48.19 kB / 491.7 MB, free: 81.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002337/0.7025, allocations: 1.522 MB / 493.3 MB, free: 80.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7025, allocations: 0 / 493.3 MB, free: 80.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005101/0.7076, allocations: 1.283 MB / 494.6 MB, free: 79.07 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.0005755/0.7082, allocations: 217.2 kB / 494.8 MB, free: 78.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00672/0.715, allocations: 4.827 MB / 499.6 MB, free: 73.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.715, allocations: 2.188 kB / 499.6 MB, free: 73.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/0.7177, allocations: 1.985 MB / 0.4898 GB, free: 71.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/0.7223, allocations: 0.6738 MB / 0.4905 GB, free: 71.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.7353, allocations: 8.294 MB / 0.4986 GB, free: 62.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/0.7378, allocations: 2.512 MB / 0.501 GB, free: 60.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002753/0.7406, allocations: 0.6063 MB / 0.5016 GB, free: 59.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/0.7411, allocations: 159.4 kB / 0.5018 GB, free: 59.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7412, allocations: 0 / 0.5018 GB, free: 59.57 MB / 382.1 MB Notification: Performance of Templates: time 0.05772/0.7989, allocations: 41.12 MB / 0.5419 GB, free: 18.39 MB / 382.1 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)