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.0008535/0.0008537, 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.007264/0.007265, allocations: 170.6 kB / 16.27 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.082/2.082, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0004849/0.0004849, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3786, allocations: 47.59 MB / 327 MB, free: 1.355 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01596/0.3946, allocations: 11.25 MB / 338.3 MB, free: 8.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.4125, allocations: 6.81 MB / 345.1 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004028/0.4166, allocations: 55.69 kB / 345.2 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.42, allocations: 0.7539 MB / 345.9 MB, free: 428 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005328/0.4253, allocations: 0.8467 MB / 346.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005842/0.4312, allocations: 1.537 MB / 348.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007217/0.4384, allocations: 3.835 MB / 352.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003418/0.4419, allocations: 1.77 MB / 353.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.445, allocations: 1.136 MB / 355 MB, free: 7.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.4476, allocations: 1.478 MB / 356.5 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.448, allocations: 156 kB / 356.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.4494, allocations: 395.5 kB / 357.1 MB, free: 5.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009596/0.4504, allocations: 0.7472 MB / 357.8 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001947/0.4523, allocations: 1.431 MB / 359.2 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005125/0.4575, allocations: 4.426 MB / 363.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.4575, allocations: 4 kB / 363.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.489e-06/0.4575, allocations: 0 / 363.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001815/0.4577, 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.008113/0.4658, allocations: 2.93 MB / 366.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.531e-05/0.4659, allocations: 8.031 kB / 366.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.4679, allocations: 429 kB / 367 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.4718, allocations: 1.664 MB / 368.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.472, allocations: 180.9 kB / 368.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/0.4726, allocations: 239.9 kB / 369.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006344/0.4789, allocations: 3.053 MB / 372.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-05/0.479, allocations: 8 kB / 372.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.4793, allocations: 96 kB / 372.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.4794, allocations: 100.6 kB / 372.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005014/0.4844, allocations: 2.544 MB / 374.9 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/0.5058, allocations: 10.35 MB / 385.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/0.5101, allocations: 2.72 MB / 388 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.5124, allocations: 1.227 MB / 389.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/0.5128, allocations: 130.4 kB / 389.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.46e-05/0.5129, allocations: 51.88 kB / 389.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 5.871e-06/0.5129, allocations: 384 / 389.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.02124/0.5341, allocations: 8.228 MB / 397.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.5343, allocations: 171.5 kB / 397.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005147/0.5395, allocations: 1.885 MB / 399.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003007/0.5398, allocations: 53.7 kB / 399.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.5414, allocations: 1.153 MB / 400.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009627/0.5424, allocations: 0.5584 MB / 401.4 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/0.5428, allocations: 161.6 kB / 401.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.543, allocations: 301.1 kB / 401.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.545, allocations: 0.8667 MB / 402.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.5474, allocations: 1.326 MB / 404.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004552/0.5519, allocations: 2.258 MB / 406.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/0.552, allocations: 4 kB / 406.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.007628/0.5596, allocations: 3.16 MB / 409.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005269/0.5602, allocations: 471.1 kB / 409.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/0.5602, allocations: 12 kB / 409.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/0.5625, allocations: 0.7931 MB / 410.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.5641, allocations: 367.5 kB / 411.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.5799, allocations: 11.87 MB / 423 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.5825, allocations: 99.91 kB / 423.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004217/0.583, allocations: 72 kB / 423.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.583, allocations: 4 kB / 423.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006456/0.5895, allocations: 2.927 MB / 426.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.089e-05/0.5896, allocations: 12 kB / 426.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/0.5918, allocations: 0.7862 MB / 426.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.5932, allocations: 355.4 kB / 427.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/0.6087, allocations: 11.86 MB / 439.1 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/0.6115, allocations: 99.91 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004482/0.612, allocations: 72 kB / 439.2 MB, free: 15.89 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.002827/0.6148, allocations: 0.801 MB / 440 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/0.6163, allocations: 217.4 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007129/0.6235, allocations: 2.86 MB / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.6235, allocations: 19.98 kB / 443.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.6235, allocations: 8.469 kB / 443.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.6236, allocations: 11.97 kB / 443.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.6376, allocations: 5.696 MB / 448.9 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.6377, allocations: 4 kB / 448.9 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.6388, allocations: 227.7 kB / 449.1 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002584/0.6414, allocations: 0.8326 MB / 449.9 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/0.6417, allocations: 47.92 kB / 450 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3822/1.024, allocations: 13.3 MB / 463.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/1.024, allocations: 7.625 kB / 463.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007514/1.032, allocations: 4.062 MB / 467.3 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.033, allocations: 481.6 kB / 467.8 MB, free: 101.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007404/1.034, allocations: 39.56 kB / 467.8 MB, free: 101.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.035, allocations: 105.7 kB / 467.9 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/1.036, allocations: 131.9 kB / 468.1 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.036, allocations: 49.31 kB / 468.1 MB, free: 101.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002605/1.038, allocations: 1.279 MB / 469.4 MB, free: 101.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.893e-06/1.038, allocations: 0 / 469.4 MB, free: 101.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005414/1.044, allocations: 1.084 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.0007655/1.045, allocations: 248.9 kB / 470.7 MB, free: 101.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007983/1.053, allocations: 5.28 MB / 476 MB, free: 97.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.053, allocations: 4 kB / 476 MB, free: 97.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003138/1.056, allocations: 2.09 MB / 478.1 MB, free: 96.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/1.061, allocations: 0.55 MB / 478.6 MB, free: 95.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.073, allocations: 6.874 MB / 485.5 MB, free: 89.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002589/1.076, allocations: 1.973 MB / 487.5 MB, free: 87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002112/1.078, allocations: 0.4896 MB / 488 MB, free: 86.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/1.079, allocations: 123.4 kB / 488.1 MB, free: 86.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/1.079, allocations: 0 / 488.1 MB, free: 86.39 MB / 382.1 MB Notification: Performance of Templates: time 0.06853/1.147, allocations: 40.88 MB / 0.5166 GB, free: 45.46 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)