Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001196/0.001196, allocations: 99.55 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.001397/0.001397, allocations: 177.3 kB / 15.94 MB, free: 228 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.799/1.799, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0004968/0.0004969, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3428, allocations: 47.59 MB / 326.5 MB, free: 1.566 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.0132/0.3561, allocations: 9.693 MB / 336.1 MB, free: 9.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.3708, allocations: 6.343 MB / 342.5 MB, free: 3.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.3737, allocations: 55.69 kB / 342.5 MB, free: 3.465 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.3766, allocations: 0.6881 MB / 343.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00368/0.3803, allocations: 0.8646 MB / 344.1 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.3851, allocations: 1.33 MB / 345.4 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005302/0.3904, allocations: 2.232 MB / 347.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.3924, allocations: 1.368 MB / 349 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.3941, allocations: 1.062 MB / 350.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.3956, allocations: 1.249 MB / 351.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.3959, allocations: 152 kB / 351.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009356/0.3969, allocations: 335.7 kB / 351.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007853/0.3977, allocations: 0.7009 MB / 352.5 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.3982, allocations: 0.5744 MB / 353.1 MB, free: 8.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.4016, allocations: 3.709 MB / 356.8 MB, free: 5.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4016, allocations: 0 / 356.8 MB, free: 5.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4016, allocations: 0 / 356.8 MB, free: 5.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.855e-05/0.4017, allocations: 0 / 356.8 MB, free: 5.145 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.006479/0.4082, allocations: 2.942 MB / 359.7 MB, free: 2.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.4082, allocations: 12.03 kB / 359.8 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.4097, allocations: 428 kB / 360.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.4128, allocations: 1.618 MB / 361.8 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.413, allocations: 176.8 kB / 362 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.4133, allocations: 243.9 kB / 362.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005472/0.4188, allocations: 3.014 MB / 365.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.492e-05/0.4189, allocations: 7.906 kB / 365.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.4191, allocations: 108 kB / 365.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.4193, allocations: 108.5 kB / 365.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004409/0.4237, allocations: 2.516 MB / 367.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/0.4417, allocations: 10.3 MB / 378.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/0.4452, allocations: 2.724 MB / 381 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/0.4456, allocations: 130.4 kB / 381.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.671e-05/0.4457, allocations: 47.88 kB / 381.1 MB, free: 12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 5.19e-06/0.4457, allocations: 480 / 381.1 MB, free: 12 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.01805/0.4638, allocations: 8.165 MB / 389.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002251/0.4641, allocations: 187.4 kB / 389.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.467, allocations: 1.842 MB / 391.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.4671, allocations: 53.7 kB / 391.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009366/0.4681, allocations: 1.153 MB / 392.5 MB, free: 336 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004956/0.4686, allocations: 0.5663 MB / 393.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.4687, allocations: 36 kB / 393.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4689, allocations: 381.9 kB / 393.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.4703, allocations: 0.8628 MB / 394.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.472, allocations: 1.311 MB / 395.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.4738, allocations: 1.044 MB / 396.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.4738, allocations: 4 kB / 396.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005323/0.4791, allocations: 3.121 MB / 399.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002589/0.4817, allocations: 4.981 MB / 404.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.962e-05/0.4818, allocations: 16 kB / 404.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.4837, allocations: 0.7699 MB / 405.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4852, allocations: 379.4 kB / 406 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.4993, allocations: 11.86 MB / 417.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.5015, allocations: 111.8 kB / 418 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/0.5018, allocations: 71.95 kB / 418 MB, free: 5.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5018, allocations: 4 kB / 418 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005555/0.5074, allocations: 2.879 MB / 420.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.058e-05/0.5074, allocations: 12 kB / 420.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.5094, allocations: 0.767 MB / 421.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.5108, allocations: 367.4 kB / 422.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.5248, allocations: 11.85 MB / 433.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.527, allocations: 107.9 kB / 434 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003577/0.5274, allocations: 72.09 kB / 434.1 MB, free: 4.723 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.002405/0.5298, allocations: 0.8049 MB / 434.9 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009096/0.5307, allocations: 209.5 kB / 435.1 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/0.5366, allocations: 2.845 MB / 437.9 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.5367, allocations: 19.98 kB / 438 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/0.5367, allocations: 8 kB / 438 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.5367, allocations: 11.92 kB / 438 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.5488, allocations: 5.652 MB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.5488, allocations: 4 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.5498, allocations: 239.6 kB / 443.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002065/0.5519, allocations: 0.8134 MB / 444.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.552, allocations: 39.98 kB / 444.7 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3215/0.8736, allocations: 13.34 MB / 458.1 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.8736, allocations: 3.938 kB / 458.1 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008178/0.8818, allocations: 4.261 MB / 462.3 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.8834, allocations: 481.8 kB / 462.8 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.8837, allocations: 45.34 kB / 462.8 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8848, allocations: 97.25 kB / 462.9 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/0.8851, allocations: 133.8 kB / 463.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/0.8852, allocations: 51.12 kB / 463.1 MB, free: 104.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001961/0.8872, allocations: 1.257 MB / 464.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8872, allocations: 2.781 kB / 464.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004243/0.8914, allocations: 1.066 MB / 465.4 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.0005791/0.892, allocations: 210.5 kB / 465.6 MB, free: 103.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007212/0.8992, allocations: 5.243 MB / 470.9 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.8993, allocations: 3.969 kB / 470.9 MB, free: 100.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002704/0.902, allocations: 2.063 MB / 473 MB, free: 99.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/0.905, allocations: 0.5396 MB / 473.5 MB, free: 99.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009553/0.9146, allocations: 6.577 MB / 480.1 MB, free: 93.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/0.9163, allocations: 2.029 MB / 482.1 MB, free: 91.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001765/0.9181, allocations: 0.5052 MB / 482.6 MB, free: 90.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.9184, allocations: 123.4 kB / 482.7 MB, free: 90.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.9184, allocations: 0 / 482.7 MB, free: 90.61 MB / 382.1 MB Notification: Performance of Templates: time 0.05623/0.9747, allocations: 39.62 MB / 0.5101 GB, free: 50.95 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) Environment - environmentSimulation: