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.001304/0.001304, allocations: 88.72 kB / 16.65 MB, free: 6.535 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.001501/0.001501, allocations: 172.5 kB / 17.56 MB, free: 6.184 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.947/1.947, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.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.0004949/0.0004949, allocations: 16 kB / 280.8 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1434, allocations: 47.57 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01565/0.1592, allocations: 11.25 MB / 339.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02018/0.1794, allocations: 6.818 MB / 346.4 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.1836, allocations: 51.75 kB / 346.4 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004213/0.1879, allocations: 0.7538 MB / 347.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.1933, allocations: 0.8466 MB / 348 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007188/0.2005, allocations: 1.541 MB / 349.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007934/0.2085, allocations: 3.843 MB / 353.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004494/0.213, allocations: 1.758 MB / 355.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.2172, allocations: 1.132 MB / 356.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004295/0.2216, allocations: 1.482 MB / 357.8 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.2229, allocations: 152 kB / 357.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.2252, allocations: 395.5 kB / 358.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.2264, allocations: 0.755 MB / 359.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002533/0.229, allocations: 1.432 MB / 360.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00582/0.2348, allocations: 4.422 MB / 364.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.2348, allocations: 3.938 kB / 364.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.2349, allocations: 0 / 364.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001278/0.235, allocations: 4 kB / 364.9 MB, free: 14.91 MB / 318.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.007491/0.2425, allocations: 2.926 MB / 367.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/0.2426, allocations: 12.03 kB / 367.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.2443, allocations: 425 kB / 368.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.2476, allocations: 1.664 MB / 370 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.2477, allocations: 180.9 kB / 370.1 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004407/0.2482, allocations: 239.9 kB / 370.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00643/0.2546, allocations: 3.057 MB / 373.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.799e-05/0.2548, allocations: 7.906 kB / 373.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.255, allocations: 104 kB / 373.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.2552, allocations: 96.59 kB / 373.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005052/0.2602, allocations: 2.544 MB / 376.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3448/0.605, allocations: 10.33 MB / 386.5 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004163/0.6092, allocations: 2.727 MB / 389.2 MB, free: 44.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.6117, allocations: 1.24 MB / 390.5 MB, free: 44.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.6121, allocations: 123.1 kB / 390.6 MB, free: 43.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.844e-05/0.6122, allocations: 55.06 kB / 390.7 MB, free: 43.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 4.238e-06/0.6122, allocations: 3.719 kB / 390.7 MB, free: 43.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.01979/0.632, allocations: 8.217 MB / 398.9 MB, free: 39.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.6321, allocations: 171.3 kB / 399 MB, free: 39.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/0.6352, allocations: 1.871 MB / 400.9 MB, free: 38.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.6355, allocations: 57.11 kB / 401 MB, free: 38.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007287/0.6362, allocations: 1.154 MB / 402.1 MB, free: 37.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.6367, allocations: 0.5562 MB / 402.7 MB, free: 37.11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.6369, allocations: 159.6 kB / 402.8 MB, free: 37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.637, allocations: 308.5 kB / 403.1 MB, free: 36.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.6383, allocations: 0.868 MB / 404 MB, free: 36.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.6397, allocations: 1.323 MB / 405.3 MB, free: 35.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.6425, allocations: 2.274 MB / 407.6 MB, free: 33.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.6425, allocations: 4 kB / 407.6 MB, free: 33.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.005381/0.6479, allocations: 3.155 MB / 410.8 MB, free: 30.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003843/0.6483, allocations: 466.2 kB / 411.2 MB, free: 29.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.6484, allocations: 16 kB / 411.2 MB, free: 29.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.6502, allocations: 0.7923 MB / 412 MB, free: 28.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.6515, allocations: 365.3 kB / 412.4 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.6624, allocations: 11.87 MB / 424.3 MB, free: 16.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/0.6653, allocations: 100.9 kB / 424.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.6656, allocations: 72 kB / 424.4 MB, free: 15.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.6656, allocations: 4 kB / 424.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004747/0.6704, allocations: 2.924 MB / 427.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/0.6704, allocations: 12 kB / 427.4 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.6721, allocations: 0.7951 MB / 428.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.6732, allocations: 351.5 kB / 428.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.6837, allocations: 11.86 MB / 440.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.6862, allocations: 95.95 kB / 440.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.6864, allocations: 73.17 kB / 440.5 MB, free: 15.1 MB / 334.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.002165/0.6886, allocations: 0.8015 MB / 441.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007059/0.6893, allocations: 217.3 kB / 441.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005523/0.6949, allocations: 2.868 MB / 444.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.6949, allocations: 16 kB / 444.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/0.6949, allocations: 8 kB / 444.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.695, allocations: 7.969 kB / 444.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.7058, allocations: 5.702 MB / 450.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.7058, allocations: 4 kB / 450.1 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009791/0.7068, allocations: 227.7 kB / 450.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.709, allocations: 0.8395 MB / 451.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.7091, allocations: 39.98 kB / 451.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/0.7243, allocations: 13.31 MB / 464.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.7243, allocations: 4 kB / 464.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/0.7318, allocations: 4.063 MB / 468.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/0.7334, allocations: 486.3 kB / 469.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/0.7338, allocations: 39.98 kB / 469.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.735, allocations: 95.91 kB / 469.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/0.7355, allocations: 137 kB / 469.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.7356, allocations: 47.98 kB / 469.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002248/0.7378, allocations: 1.285 MB / 470.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7379, allocations: 0 / 470.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004934/0.7428, allocations: 1.068 MB / 471.8 MB, free: 14.75 MB / 366.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.0007658/0.7436, allocations: 251.3 kB / 472 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.009896/0.7535, allocations: 5.286 MB / 477.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/0.7536, allocations: 0 / 477.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004385/0.758, allocations: 2.086 MB / 479.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/0.7627, allocations: 0.5613 MB / 479.9 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.7779, allocations: 6.869 MB / 486.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/0.7808, allocations: 1.977 MB / 488.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002765/0.7836, allocations: 0.4974 MB / 489.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.784, allocations: 123.4 kB / 489.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.764e-06/0.7841, allocations: 0 / 489.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of Templates: time 0.08814/0.8722, allocations: 40.87 MB / 0.5179 GB, free: 3.832 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.makefile (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)