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.001769/0.001769, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01229/0.01229, allocations: 169 kB / 16.26 MB, free: 6.652 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.194/2.194, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0007798/0.0007799, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3888, allocations: 47.59 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01545/0.4044, allocations: 11.25 MB / 338.3 MB, free: 8.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.4223, allocations: 6.81 MB / 345.1 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.4262, allocations: 55.69 kB / 345.2 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003748/0.43, allocations: 0.7539 MB / 345.9 MB, free: 428 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.4354, allocations: 0.8544 MB / 346.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006966/0.4424, allocations: 1.533 MB / 348.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007926/0.4504, allocations: 3.835 MB / 352.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004294/0.4548, allocations: 1.77 MB / 353.9 MB, free: 8.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00387/0.4587, allocations: 1.132 MB / 355 MB, free: 7.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.4624, allocations: 1.482 MB / 356.5 MB, free: 5.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.4637, allocations: 156 kB / 356.7 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.4659, allocations: 391.5 kB / 357.1 MB, free: 5.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.4675, allocations: 0.7472 MB / 357.8 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00391/0.4715, allocations: 1.432 MB / 359.2 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009444/0.4809, allocations: 4.43 MB / 363.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.481, allocations: 0 / 363.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.481, allocations: 0 / 363.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002396/0.4813, allocations: 0 / 363.7 MB, free: 14.55 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.01015/0.4914, allocations: 2.926 MB / 366.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.058e-05/0.4915, allocations: 16.03 kB / 366.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.4945, allocations: 425 kB / 367 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004992/0.4995, allocations: 1.661 MB / 368.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.4997, allocations: 184.9 kB / 368.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008799/0.5006, allocations: 243.9 kB / 369.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007522/0.5081, allocations: 3.053 MB / 372.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.53e-05/0.5083, allocations: 0 / 372.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.5085, allocations: 100 kB / 372.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.5087, allocations: 104.6 kB / 372.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005968/0.5147, allocations: 2.536 MB / 374.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/0.5392, allocations: 10.35 MB / 385.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/0.5434, allocations: 2.727 MB / 388 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002285/0.5458, allocations: 1.227 MB / 389.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.5461, allocations: 126.4 kB / 389.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.5462, allocations: 48.34 kB / 389.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 5.119e-06/0.5462, allocations: 0 / 389.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.02195/0.5682, allocations: 8.228 MB / 397.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.5684, allocations: 175.5 kB / 397.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.5724, allocations: 1.881 MB / 399.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000436/0.5729, allocations: 53.7 kB / 399.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.5741, allocations: 1.153 MB / 400.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008232/0.5749, allocations: 0.5622 MB / 401.4 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.5752, allocations: 153.6 kB / 401.6 MB, free: 7.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5754, allocations: 305.1 kB / 401.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.5771, allocations: 0.8667 MB / 402.7 MB, free: 6.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.579, allocations: 1.322 MB / 404 MB, free: 4.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.5826, allocations: 2.266 MB / 406.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.5826, allocations: 4 kB / 406.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.006512/0.5891, allocations: 3.16 MB / 409.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005112/0.5897, allocations: 467 kB / 409.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.755e-05/0.5898, allocations: 16 kB / 409.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/0.592, allocations: 0.7972 MB / 410.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.5938, allocations: 355.5 kB / 411.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.6092, allocations: 11.87 MB / 423 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/0.6121, allocations: 104 kB / 423.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.6124, allocations: 72.06 kB / 423.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.6124, allocations: 4 kB / 423.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005506/0.6179, allocations: 2.93 MB / 426.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.834e-05/0.618, allocations: 16.34 kB / 426.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001995/0.62, allocations: 0.79 MB / 426.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.6214, allocations: 359.4 kB / 427.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.6363, allocations: 11.85 MB / 439.1 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.6391, allocations: 96.03 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.6394, allocations: 68 kB / 439.2 MB, free: 15.88 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.002747/0.6422, allocations: 0.8088 MB / 440 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008035/0.643, allocations: 217.4 kB / 440.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/0.6484, allocations: 2.864 MB / 443.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.6484, allocations: 16 kB / 443.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.6484, allocations: 4.469 kB / 443.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.6485, allocations: 7.969 kB / 443.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.6598, allocations: 5.704 MB / 448.9 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.6599, allocations: 4 kB / 448.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009887/0.6608, allocations: 227.7 kB / 449.1 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002141/0.663, allocations: 0.8364 MB / 449.9 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.6631, allocations: 43.92 kB / 450 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2874/0.9506, allocations: 13.29 MB / 463.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/0.9507, allocations: 7.969 kB / 463.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/0.9624, allocations: 4.062 MB / 467.3 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/0.9644, allocations: 480.1 kB / 467.8 MB, free: 101.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005539/0.965, allocations: 42.2 kB / 467.8 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/0.967, allocations: 102.7 kB / 467.9 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/0.9676, allocations: 141.3 kB / 468.1 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.9678, allocations: 45.73 kB / 468.1 MB, free: 101.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00323/0.971, allocations: 1.278 MB / 469.4 MB, free: 101.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.971, allocations: 0 / 469.4 MB, free: 101.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007295/0.9783, allocations: 1.077 MB / 470.5 MB, free: 101.2 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.001133/0.9795, allocations: 246.7 kB / 470.7 MB, free: 101.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01376/0.9933, allocations: 5.284 MB / 476 MB, free: 97.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/0.9934, allocations: 0 / 476 MB, free: 97.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005595/0.999, allocations: 2.091 MB / 478.1 MB, free: 95.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008166/1.007, allocations: 0.559 MB / 478.6 MB, free: 95.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/1.032, allocations: 6.871 MB / 485.5 MB, free: 88.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003736/1.035, allocations: 1.973 MB / 487.5 MB, free: 86.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003908/1.039, allocations: 0.4936 MB / 488 MB, free: 86.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009237/1.04, allocations: 127.4 kB / 488.1 MB, free: 86.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.713e-06/1.04, allocations: 0 / 488.1 MB, free: 86.25 MB / 382.1 MB Notification: Performance of Templates: time 0.1139/1.154, allocations: 40.88 MB / 0.5166 GB, free: 45.34 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (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)