Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001444, allocations: 92.41 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.001598/0.001597, allocations: 182.8 kB / 17.2 MB, free: 5.91 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.933/1.933, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0007416/0.0007419, allocations: 16 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3375, allocations: 47.58 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01306/0.3506, allocations: 9.694 MB / 337.4 MB, free: 9.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.3668, allocations: 6.339 MB / 343.7 MB, free: 3.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/0.3701, allocations: 51.75 kB / 343.8 MB, free: 3.391 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.3726, allocations: 0.6998 MB / 344.5 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.3762, allocations: 0.8568 MB / 345.3 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.3806, allocations: 1.341 MB / 346.7 MB, free: 496 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005149/0.3858, allocations: 2.232 MB / 348.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.3879, allocations: 1.364 MB / 350.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.39, allocations: 1.066 MB / 351.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.3918, allocations: 1.245 MB / 352.6 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.3921, allocations: 152 kB / 352.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008857/0.393, allocations: 331.7 kB / 353.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007349/0.3937, allocations: 0.7048 MB / 353.8 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006895/0.3944, allocations: 0.5783 MB / 354.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.3978, allocations: 3.701 MB / 358 MB, free: 5.062 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.3978, allocations: 0 / 358 MB, free: 5.062 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3979, allocations: 0 / 358 MB, free: 5.062 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001015/0.398, allocations: 0 / 358 MB, free: 5.062 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.00692/0.4049, allocations: 2.949 MB / 361 MB, free: 2.047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4049, allocations: 12.03 kB / 361 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.4065, allocations: 432 kB / 361.4 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/0.4101, allocations: 1.614 MB / 363 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.4103, allocations: 176.8 kB / 363.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.4107, allocations: 243.9 kB / 363.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005263/0.4159, allocations: 3.014 MB / 366.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-05/0.416, allocations: 11.91 kB / 366.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.4163, allocations: 100 kB / 366.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.4164, allocations: 104.5 kB / 366.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004365/0.4207, allocations: 2.52 MB / 369.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.4386, allocations: 10.31 MB / 379.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.4419, allocations: 2.72 MB / 382.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.4422, allocations: 126.4 kB / 382.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.4423, allocations: 51.88 kB / 382.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 3.778e-06/0.4423, allocations: 480 / 382.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.01715/0.4594, allocations: 8.173 MB / 390.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.4596, allocations: 183.4 kB / 390.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.4625, allocations: 1.842 MB / 392.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.4627, allocations: 53.7 kB / 392.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.4635, allocations: 1.149 MB / 393.8 MB, free: 244 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004743/0.464, allocations: 0.5701 MB / 394.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.4641, allocations: 36 kB / 394.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4643, allocations: 381.9 kB / 394.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4656, allocations: 0.8628 MB / 395.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.4673, allocations: 1.311 MB / 397 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.4689, allocations: 1.044 MB / 398 MB, free: 11.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.4689, allocations: 4 kB / 398 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005167/0.4741, allocations: 3.121 MB / 401.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002171/0.4763, allocations: 4.981 MB / 406.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-05/0.4763, allocations: 16 kB / 406.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.4782, allocations: 0.7621 MB / 406.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.4797, allocations: 379.4 kB / 407.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/0.4943, allocations: 11.86 MB / 419.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/0.497, allocations: 111.8 kB / 419.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.4972, allocations: 72 kB / 419.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4972, allocations: 7.281 kB / 419.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004953/0.5022, allocations: 2.879 MB / 422.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.182e-05/0.5022, allocations: 12 kB / 422.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.5043, allocations: 0.767 MB / 423 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.5057, allocations: 367.4 kB / 423.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.5201, allocations: 11.85 MB / 435.2 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.5227, allocations: 107.9 kB / 435.3 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.5228, allocations: 68.25 kB / 435.3 MB, free: 4.637 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (194): * Single equations (assignments): 186 * 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: 5 * 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: 2 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002028/0.5249, allocations: 0.805 MB / 436.1 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/0.5255, allocations: 213.4 kB / 436.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004818/0.5303, allocations: 2.841 MB / 439.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.5303, allocations: 23.98 kB / 439.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.5304, allocations: 7.953 kB / 439.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.5304, allocations: 7.969 kB / 439.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009503/0.5399, allocations: 5.652 MB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.5399, allocations: 4 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009815/0.5409, allocations: 239.6 kB / 445.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/0.5429, allocations: 0.8095 MB / 445.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.543, allocations: 43.98 kB / 446 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3227/0.8657, allocations: 13.34 MB / 459.3 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.8658, allocations: 3.781 kB / 459.3 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008415/0.8742, allocations: 4.254 MB / 463.6 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/0.876, allocations: 486.7 kB / 464.1 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/0.8764, allocations: 39.53 kB / 464.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.8776, allocations: 100.6 kB / 464.2 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000452/0.8781, allocations: 140 kB / 464.3 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.8782, allocations: 47.48 kB / 464.4 MB, free: 104.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002233/0.8804, allocations: 1.252 MB / 465.6 MB, free: 103.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8804, allocations: 4.312 kB / 465.6 MB, free: 103.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004784/0.8852, allocations: 1.075 MB / 466.7 MB, free: 103.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],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 (123): * Single equations (assignments): 117 * 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 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007441/0.886, allocations: 207 kB / 466.9 MB, free: 103.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008566/0.8946, allocations: 5.245 MB / 472.2 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.8946, allocations: 0 / 472.2 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003068/0.8977, allocations: 2.072 MB / 474.2 MB, free: 99.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.9013, allocations: 0.5311 MB / 474.8 MB, free: 99.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.9131, allocations: 6.575 MB / 481.3 MB, free: 93.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.9149, allocations: 2.031 MB / 483.4 MB, free: 91.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00215/0.917, allocations: 0.4974 MB / 483.9 MB, free: 90.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.9174, allocations: 131.4 kB / 484 MB, free: 90.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.9174, allocations: 0 / 484 MB, free: 90.6 MB / 382.1 MB Notification: Performance of Templates: time 0.06198/0.9794, allocations: 39.61 MB / 0.5113 GB, free: 50.94 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) Environment - environmentSimulation: