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.001158/0.001158, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001393/0.001393, allocations: 177.3 kB / 15.95 MB, free: 216 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.368/1.368, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004378/0.000438, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2778, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.0146/0.2924, allocations: 13.51 MB / 340 MB, free: 5.973 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.3073, allocations: 7.81 MB / 347.8 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003222/0.3106, allocations: 87.62 kB / 347.9 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.3131, allocations: 0.9366 MB / 348.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00476/0.3178, allocations: 1.48 MB / 350.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.3224, allocations: 1.735 MB / 352 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006018/0.3285, allocations: 3.394 MB / 355.4 MB, free: 6.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.3314, allocations: 2.255 MB / 357.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.3335, allocations: 1.514 MB / 359.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.3355, allocations: 1.739 MB / 360.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003804/0.3359, allocations: 235.9 kB / 361.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3371, allocations: 0.5074 MB / 361.6 MB, free: 200 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007202/0.3378, allocations: 0.8332 MB / 362.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009706/0.3388, allocations: 0.8512 MB / 363.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005957/0.3447, allocations: 6.073 MB / 369.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3448, allocations: 0 / 369.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3448, allocations: 4 kB / 369.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001751/0.345, allocations: 0 / 369.4 MB, free: 8.406 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.01078/0.3558, allocations: 4.425 MB / 373.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3558, allocations: 8.031 kB / 373.8 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/0.361, allocations: 0.994 MB / 374.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00577/0.3668, allocations: 2.536 MB / 377.4 MB, free: 324 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.3671, allocations: 275.4 kB / 377.6 MB, free: 48 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009325/0.368, allocations: 367.9 kB / 378 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008182/0.3762, allocations: 4.677 MB / 382.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.61e-05/0.3763, allocations: 4 kB / 382.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/0.3766, allocations: 156 kB / 382.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.3767, allocations: 151.3 kB / 383 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006467/0.3832, allocations: 3.987 MB / 387 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02605/0.4093, allocations: 16 MB / 403 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007328/0.4167, allocations: 7.878 MB / 410.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007514/0.4242, allocations: 4.357 MB / 415.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.4243, allocations: 56.56 kB / 415.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=190): time 4.999e-06/0.4243, allocations: 4 kB / 415.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.0146/0.4389, allocations: 7.428 MB / 422.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.728e-05/0.4391, allocations: 180.2 kB / 422.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.4424, allocations: 2.217 MB / 425.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000255/0.4427, allocations: 57.7 kB / 425.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.4439, allocations: 1.66 MB / 426.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006251/0.4446, allocations: 0.6546 MB / 427.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4447, allocations: 51.94 kB / 427.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4449, allocations: 390.6 kB / 427.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.4463, allocations: 0.8947 MB / 428.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.4481, allocations: 1.514 MB / 430.3 MB, free: 9.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.4497, allocations: 1.142 MB / 431.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.4497, allocations: 4 kB / 431.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.005346/0.4551, allocations: 3.233 MB / 434.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002869/0.458, allocations: 7.466 MB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.806e-05/0.458, allocations: 20 kB / 442.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.4591, allocations: 471.8 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.4611, allocations: 0.4993 MB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007456/0.4686, allocations: 8.186 MB / 451.3 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.4709, allocations: 100.1 kB / 451.4 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.4711, allocations: 95.98 kB / 451.5 MB, free: 2.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.4712, allocations: 6.969 kB / 451.5 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2123/0.6835, allocations: 2.941 MB / 454.4 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.631e-05/0.6836, allocations: 18.59 kB / 454.5 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.685, allocations: 466.1 kB / 454.9 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.6875, allocations: 0.4988 MB / 455.4 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/0.6944, allocations: 8.186 MB / 463.6 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.6967, allocations: 88.73 kB / 463.7 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.6969, allocations: 97.58 kB / 463.8 MB, free: 100.1 MB / 382.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.002482/0.6994, allocations: 1.148 MB / 464.9 MB, free: 99.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/0.7, allocations: 259.6 kB / 465.2 MB, free: 99.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/0.7042, allocations: 2.866 MB / 468 MB, free: 98.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.7042, allocations: 20.47 kB / 468.1 MB, free: 98.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.7042, allocations: 3.969 kB / 468.1 MB, free: 98.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.7042, allocations: 21.83 kB / 468.1 MB, free: 98.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008836/0.7131, allocations: 6.335 MB / 474.4 MB, free: 95.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.7131, allocations: 2.406 kB / 474.4 MB, free: 95.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7142, allocations: 280 kB / 474.7 MB, free: 95.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.7156, allocations: 0.654 MB / 475.4 MB, free: 94.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.7157, allocations: 46.39 kB / 475.4 MB, free: 94.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009643/0.7254, allocations: 12.81 MB / 488.2 MB, free: 83.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7254, allocations: 3.656 kB / 488.2 MB, free: 83.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/0.7307, allocations: 4.351 MB / 492.6 MB, free: 79.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.7319, allocations: 0.5288 MB / 493.1 MB, free: 79.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.7322, allocations: 40 kB / 493.1 MB, free: 78.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.7333, allocations: 86.75 kB / 493.2 MB, free: 78.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.7336, allocations: 155.1 kB / 493.4 MB, free: 78.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.7337, allocations: 55.97 kB / 493.4 MB, free: 78.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001944/0.7357, allocations: 1.501 MB / 494.9 MB, free: 77.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7357, allocations: 0 / 494.9 MB, free: 77.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004011/0.7397, allocations: 1.29 MB / 496.2 MB, free: 75.91 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.00048/0.7402, allocations: 216.8 kB / 496.4 MB, free: 75.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005956/0.7462, allocations: 4.946 MB / 0.4896 GB, free: 70.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.7462, allocations: 0 / 0.4896 GB, free: 70.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.7485, allocations: 2.041 MB / 0.4916 GB, free: 68.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/0.7515, allocations: 0.639 MB / 0.4922 GB, free: 67.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.7628, allocations: 8.364 MB / 0.5004 GB, free: 59.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/0.7646, allocations: 2.601 MB / 0.503 GB, free: 56.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002386/0.767, allocations: 0.6146 MB / 0.5036 GB, free: 56.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/0.7674, allocations: 159.4 kB / 0.5037 GB, free: 56.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7674, allocations: 0 / 0.5037 GB, free: 56.12 MB / 382.1 MB Notification: Performance of Templates: time 0.06327/0.8306, allocations: 41.26 MB / 0.544 GB, free: 14.8 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: