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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001002/0.001002, allocations: 179.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.166/1.166, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001645/0.001646, allocations: 119.6 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.0934, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2998/0.3933, allocations: 120.8 MB / 475.8 MB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.3936, allocations: 89.23 kB / 475.9 MB, free: 1.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2935/0.6871, allocations: 54.98 MB / 0.5185 GB, free: 88.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6872, allocations: 0 / 0.5185 GB, free: 88.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001896/0.6874, allocations: 66.3 kB / 0.5185 GB, free: 88.17 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.007495/0.6949, allocations: 2.91 MB / 0.5214 GB, free: 87.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.6949, allocations: 13.39 kB / 0.5214 GB, free: 87.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.6965, allocations: 429.8 kB / 0.5218 GB, free: 86.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/0.7003, allocations: 1.729 MB / 0.5235 GB, free: 86.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.7005, allocations: 178.2 kB / 0.5237 GB, free: 86.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/0.7008, allocations: 244.2 kB / 0.5239 GB, free: 86.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005016/0.7059, allocations: 2.984 MB / 0.5268 GB, free: 85.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/0.7059, allocations: 7.828 kB / 0.5268 GB, free: 85.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.7062, allocations: 101.9 kB / 0.5269 GB, free: 85.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.7063, allocations: 100 kB / 0.527 GB, free: 85.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003985/0.7103, allocations: 2.427 MB / 0.5294 GB, free: 85.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/0.7245, allocations: 10.08 MB / 0.5392 GB, free: 83.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.7275, allocations: 2.773 MB / 0.5419 GB, free: 82.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.7278, allocations: 136.8 kB / 0.542 GB, free: 82.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.7278, allocations: 61.27 kB / 0.5421 GB, free: 82.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 3.376e-06/0.7279, allocations: 0 / 0.5421 GB, free: 82.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.0168/0.7447, allocations: 9.057 MB / 0.551 GB, free: 79.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.7448, allocations: 175 kB / 0.5511 GB, free: 79.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.747, allocations: 1.61 MB / 0.5527 GB, free: 78.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.7471, allocations: 57.14 kB / 0.5527 GB, free: 78.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005773/0.7477, allocations: 1.139 MB / 0.5539 GB, free: 77.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.7481, allocations: 0.5901 MB / 0.5544 GB, free: 77.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.7482, allocations: 39.91 kB / 0.5545 GB, free: 76.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.7483, allocations: 379 kB / 0.5548 GB, free: 76.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.7494, allocations: 0.9125 MB / 0.5557 GB, free: 76.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.7507, allocations: 1.346 MB / 0.557 GB, free: 75.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.752, allocations: 1.11 MB / 0.5581 GB, free: 75.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.752, allocations: 3.688 kB / 0.5581 GB, free: 75.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.00468/0.7567, allocations: 3.291 MB / 0.5613 GB, free: 73.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008433/0.7575, allocations: 4.708 MB / 0.5659 GB, free: 68.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.7576, allocations: 10.56 kB / 0.5659 GB, free: 68.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.7597, allocations: 0.9672 MB / 0.5669 GB, free: 68.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.761, allocations: 365.9 kB / 0.5672 GB, free: 68.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.7723, allocations: 12.32 MB / 0.5793 GB, free: 60.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.7744, allocations: 117.7 kB / 0.5794 GB, free: 60.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/0.7747, allocations: 75.53 kB / 0.5795 GB, free: 60.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.7747, allocations: 3.188 kB / 0.5795 GB, free: 60.17 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004355/0.7791, allocations: 3.06 MB / 0.5824 GB, free: 58.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.786e-05/0.7791, allocations: 21.95 kB / 0.5825 GB, free: 58.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/0.7812, allocations: 0.9633 MB / 0.5834 GB, free: 58.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.7826, allocations: 364.9 kB / 0.5838 GB, free: 58.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.7937, allocations: 12.32 MB / 0.5958 GB, free: 50.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.7959, allocations: 106.7 kB / 0.5959 GB, free: 50.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.7961, allocations: 73.34 kB / 0.596 GB, free: 50.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * 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 initialization (189): * Single equations (assignments): 182 * 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: 4 * 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: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001487/0.7976, allocations: 0.8073 MB / 0.5967 GB, free: 49.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004712/0.7981, allocations: 213.3 kB / 0.5969 GB, free: 49.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/0.8022, allocations: 2.967 MB / 0.5998 GB, free: 48.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.8023, allocations: 16.72 kB / 0.5999 GB, free: 48.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.8023, allocations: 11.56 kB / 0.5999 GB, free: 48.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.8023, allocations: 7.125 kB / 0.5999 GB, free: 48.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00877/0.8111, allocations: 5.879 MB / 0.6056 GB, free: 44.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.8111, allocations: 4 kB / 0.6056 GB, free: 44.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008637/0.812, allocations: 220.5 kB / 0.6058 GB, free: 44.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.8143, allocations: 1.031 MB / 0.6068 GB, free: 43.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.8144, allocations: 47 kB / 0.6069 GB, free: 43.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.826, allocations: 14.06 MB / 0.6206 GB, free: 30.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8261, allocations: 4 kB / 0.6206 GB, free: 30.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005756/0.8318, allocations: 4.438 MB / 0.625 GB, free: 26.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.8332, allocations: 494.5 kB / 0.6254 GB, free: 25.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.8335, allocations: 39.28 kB / 0.6255 GB, free: 25.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.8346, allocations: 104.1 kB / 0.6256 GB, free: 25.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.8349, allocations: 145.7 kB / 0.6257 GB, free: 25.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.373e-05/0.835, allocations: 47.75 kB / 0.6257 GB, free: 25.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001526/0.8366, allocations: 1.228 MB / 0.6269 GB, free: 24.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8366, allocations: 8 kB / 0.627 GB, free: 24.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003907/0.8405, allocations: 1.191 MB / 0.6281 GB, free: 23.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (114): * Single equations (assignments): 109 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007241/0.8412, allocations: 364.2 kB / 0.6285 GB, free: 23.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007297/0.8485, allocations: 5.464 MB / 0.6338 GB, free: 18.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.8486, allocations: 8.25 kB / 0.6338 GB, free: 18.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002836/0.8514, allocations: 2.148 MB / 0.6359 GB, free: 16.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.8539, allocations: 0.5168 MB / 0.6364 GB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008147/0.8621, allocations: 6.611 MB / 0.6429 GB, free: 9.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.8635, allocations: 2.032 MB / 0.6448 GB, free: 8.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001568/0.865, allocations: 0.496 MB / 0.6453 GB, free: 7.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.8654, allocations: 118.6 kB / 0.6454 GB, free: 7.734 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.8654, allocations: 0 / 0.6454 GB, free: 7.734 MB / 394.7 MB Notification: Performance of Templates: time 0.2287/1.094, allocations: 45.63 MB / 0.69 GB, free: 82.02 MB / 410.7 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)