Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001419/0.001419, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001817, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001516/0.001516, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4286, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.0198/0.4485, allocations: 11.93 MB / 337.3 MB, free: 7.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.4674, allocations: 6.551 MB / 343.8 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006042/0.4736, allocations: 55.75 kB / 343.9 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004641/0.4783, allocations: 0.8618 MB / 344.7 MB, free: 476 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006761/0.4851, allocations: 0.9392 MB / 345.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009616/0.4948, allocations: 1.961 MB / 347.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00948/0.5043, allocations: 3.445 MB / 351.1 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004404/0.5088, allocations: 2.107 MB / 353.2 MB, free: 7.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003851/0.5127, allocations: 1.444 MB / 354.6 MB, free: 6.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004364/0.5171, allocations: 1.696 MB / 356.3 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001813/0.5189, allocations: 356 kB / 356.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.5219, allocations: 0.5816 MB / 357.2 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.5235, allocations: 0.9776 MB / 358.2 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003811/0.5274, allocations: 1.664 MB / 359.9 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008303/0.5357, allocations: 4.688 MB / 364.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.5358, allocations: 0 / 364.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5358, allocations: 0 / 364.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002072/0.536, allocations: 0 / 364.6 MB, free: 12.5 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.01129/0.5473, allocations: 3.44 MB / 368 MB, free: 8.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/0.5474, allocations: 15.89 kB / 368 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.5492, allocations: 432.8 kB / 368.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/0.5529, allocations: 1.649 MB / 370.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.5531, allocations: 180.9 kB / 370.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005118/0.5536, allocations: 247.9 kB / 370.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00675/0.5604, allocations: 3.045 MB / 373.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-05/0.5606, allocations: 7.844 kB / 373.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.5608, allocations: 104 kB / 373.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.561, allocations: 104.6 kB / 373.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006418/0.5674, allocations: 2.532 MB / 376.3 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/0.5958, allocations: 10.26 MB / 386.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005197/0.6011, allocations: 2.72 MB / 389.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003003/0.6041, allocations: 1.243 MB / 390.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.6046, allocations: 122.4 kB / 390.7 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.872e-05/0.6048, allocations: 51.88 kB / 390.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 4.859e-06/0.6048, allocations: 0 / 390.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.0236/0.6284, allocations: 8.119 MB / 398.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.6286, allocations: 175.5 kB / 399 MB, free: 9.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006012/0.6346, allocations: 1.874 MB / 400.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006792/0.6354, allocations: 57.7 kB / 400.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.637, allocations: 1.149 MB / 402.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/0.6382, allocations: 0.5622 MB / 402.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.6395, allocations: 343.3 kB / 403 MB, free: 5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6396, allocations: 301.1 kB / 403.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.6416, allocations: 0.8792 MB / 404.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.6441, allocations: 1.311 MB / 405.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/0.6484, allocations: 2.258 MB / 407.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/0.6484, allocations: 7.938 kB / 407.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.006357/0.6548, allocations: 3.152 MB / 410.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.6549, allocations: 8 kB / 410.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.397e-05/0.6549, allocations: 16 kB / 410.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.6571, allocations: 0.7897 MB / 411.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.6585, allocations: 363.4 kB / 412 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/0.6751, allocations: 13.01 MB / 425.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.6778, allocations: 107.9 kB / 425.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.6781, allocations: 75.92 kB / 425.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003115/0.6812, allocations: 1.472 MB / 426.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001935/0.6831, allocations: 1.299 MB / 428 MB, free: 10.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003364/0.6865, allocations: 2.239 MB / 430.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.54e-05/0.6865, allocations: 4 kB / 430.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.005835/0.6924, allocations: 3.126 MB / 433.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.6924, allocations: 15.94 kB / 433.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.6925, allocations: 15.94 kB / 433.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/0.6944, allocations: 0.7974 MB / 434.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6958, allocations: 355.4 kB / 434.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/0.7096, allocations: 13 MB / 447.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.7124, allocations: 99.91 kB / 447.6 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/0.7127, allocations: 79.94 kB / 447.7 MB, free: 6.012 MB / 382.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 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].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 (191): * Single equations (assignments): 183 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006548/0.7134, allocations: 287.8 kB / 448 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/0.714, allocations: 221.4 kB / 448.2 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005314/0.7193, allocations: 2.853 MB / 451.1 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.7193, allocations: 20 kB / 451.1 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/0.7194, allocations: 11.92 kB / 451.1 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.7194, allocations: 7.969 kB / 451.1 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3102/1.03, allocations: 5.683 MB / 456.8 MB, free: 109.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.03, allocations: 3.312 kB / 456.8 MB, free: 109.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.031, allocations: 224.7 kB / 457 MB, free: 109.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/1.033, allocations: 0.8338 MB / 457.9 MB, free: 109.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/1.033, allocations: 44.61 kB / 457.9 MB, free: 109.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/1.047, allocations: 14.59 MB / 472.5 MB, free: 98.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.047, allocations: 6.781 kB / 472.5 MB, free: 98.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006298/1.053, allocations: 4.041 MB / 476.5 MB, free: 97.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.055, allocations: 481.4 kB / 477 MB, free: 96.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/1.055, allocations: 41.55 kB / 477 MB, free: 96.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.056, allocations: 93.19 kB / 477.1 MB, free: 96.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/1.057, allocations: 140.5 kB / 477.3 MB, free: 96.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/1.057, allocations: 48.2 kB / 477.3 MB, free: 96.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001838/1.058, allocations: 1.284 MB / 478.6 MB, free: 95.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.058, allocations: 0 / 478.6 MB, free: 95.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003803/1.062, allocations: 1.081 MB / 479.7 MB, free: 94.72 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 (120): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000587/1.063, allocations: 243.5 kB / 479.9 MB, free: 94.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008618/1.072, allocations: 6.027 MB / 485.9 MB, free: 88.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/1.072, allocations: 0 / 485.9 MB, free: 88.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/1.074, allocations: 2.101 MB / 488 MB, free: 86.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/1.077, allocations: 0.5898 MB / 488.6 MB, free: 85.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009853/1.087, allocations: 5.647 MB / 494.3 MB, free: 80.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/1.089, allocations: 1.969 MB / 496.3 MB, free: 78.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001857/1.091, allocations: 0.4974 MB / 496.8 MB, free: 77.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/1.091, allocations: 119.4 kB / 496.9 MB, free: 77.46 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/1.091, allocations: 0 / 496.9 MB, free: 77.46 MB / 382.1 MB Notification: Performance of Templates: time 0.07029/1.161, allocations: 43.41 MB / 0.5276 GB, free: 34.01 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)