Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007962/0.0007963, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.49e-05, allocations: 8 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08865/0.08869, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3767/0.4654, allocations: 125.9 MB / 496 MB, free: 228 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4657, allocations: 90 kB / 496.1 MB, free: 180 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3699/0.8356, allocations: 55.52 MB / 0.5387 GB, free: 96.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.8357, allocations: 3.094 kB / 0.5387 GB, free: 96.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003698/0.8361, allocations: 69.33 kB / 0.5388 GB, free: 96.71 MB / 410.7 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.008704/0.8448, allocations: 2.576 MB / 0.5413 GB, free: 95.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.8449, allocations: 11.41 kB / 0.5413 GB, free: 95.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00108/0.846, allocations: 344.5 kB / 0.5416 GB, free: 95.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.848, allocations: 427.1 kB / 0.542 GB, free: 95.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/0.8525, allocations: 1.746 MB / 0.5437 GB, free: 95.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.8527, allocations: 178.8 kB / 0.5439 GB, free: 95.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006102/0.8533, allocations: 240 kB / 0.5441 GB, free: 95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005414/0.8587, allocations: 2.972 MB / 0.547 GB, free: 94.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.8588, allocations: 9.719 kB / 0.5471 GB, free: 94.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.8591, allocations: 104.7 kB / 0.5472 GB, free: 94.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.8592, allocations: 98.92 kB / 0.5472 GB, free: 94.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003981/0.8632, allocations: 2.365 MB / 0.5496 GB, free: 94.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.8785, allocations: 10.31 MB / 0.5596 GB, free: 91.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.8811, allocations: 2.708 MB / 0.5623 GB, free: 89.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.8823, allocations: 1.11 MB / 0.5633 GB, free: 88.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/0.8826, allocations: 144.1 kB / 0.5635 GB, free: 88.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.8827, allocations: 52.22 kB / 0.5635 GB, free: 88.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.188e-06/0.8827, allocations: 0 / 0.5635 GB, free: 88.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.01519/0.8979, allocations: 7.334 MB / 0.5707 GB, free: 86.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.898, allocations: 177.6 kB / 0.5709 GB, free: 86.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.9002, allocations: 1.616 MB / 0.5724 GB, free: 85.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.9004, allocations: 56.55 kB / 0.5725 GB, free: 85.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/0.9009, allocations: 1.165 MB / 0.5736 GB, free: 84.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.9013, allocations: 0.5848 MB / 0.5742 GB, free: 83.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.9014, allocations: 42.84 kB / 0.5742 GB, free: 83.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.9015, allocations: 381.5 kB / 0.5746 GB, free: 83.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.9026, allocations: 0.8931 MB / 0.5755 GB, free: 83.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.9039, allocations: 1.328 MB / 0.5768 GB, free: 82.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.9052, allocations: 1.087 MB / 0.5778 GB, free: 81.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.9052, allocations: 6.25 kB / 0.5778 GB, free: 81.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004905/0.9101, allocations: 3.271 MB / 0.581 GB, free: 80.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009897/0.9111, allocations: 4.89 MB / 0.5858 GB, free: 75.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.9112, allocations: 15.78 kB / 0.5858 GB, free: 75.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/0.9134, allocations: 0.9574 MB / 0.5868 GB, free: 75.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.9148, allocations: 367.7 kB / 0.5871 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.9259, allocations: 11.97 MB / 0.5988 GB, free: 67.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.9279, allocations: 116.2 kB / 0.5989 GB, free: 67.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.9281, allocations: 72.28 kB / 0.599 GB, free: 67.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.9281, allocations: 7.094 kB / 0.599 GB, free: 67.08 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004216/0.9323, allocations: 3.05 MB / 0.602 GB, free: 65.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.9324, allocations: 11.03 kB / 0.602 GB, free: 65.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.9343, allocations: 0.9625 MB / 0.6029 GB, free: 65.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.9356, allocations: 364.5 kB / 0.6033 GB, free: 65.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.9459, allocations: 11.94 MB / 0.6149 GB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.948, allocations: 103.9 kB / 0.615 GB, free: 55.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.9483, allocations: 76 kB / 0.6151 GB, free: 55.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * 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.0004208/0.9487, allocations: 222.5 kB / 0.6153 GB, free: 55.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/0.9491, allocations: 225.5 kB / 0.6155 GB, free: 55.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.9535, allocations: 2.928 MB / 0.6184 GB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.9535, allocations: 16 kB / 0.6184 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.9535, allocations: 8 kB / 0.6184 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.9535, allocations: 10.17 kB / 0.6184 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008556/0.9621, allocations: 5.87 MB / 0.6242 GB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.9621, allocations: 4 kB / 0.6242 GB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009007/0.963, allocations: 226.5 kB / 0.6244 GB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/0.9653, allocations: 1.017 MB / 0.6254 GB, free: 46.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.9654, allocations: 49.11 kB / 0.6254 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/0.977, allocations: 13.66 MB / 0.6388 GB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.9771, allocations: 7.938 kB / 0.6388 GB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005615/0.9827, allocations: 4.388 MB / 0.6431 GB, free: 29.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.9839, allocations: 499.4 kB / 0.6435 GB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.9841, allocations: 43.56 kB / 0.6436 GB, free: 29.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.9852, allocations: 100.4 kB / 0.6437 GB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/0.9855, allocations: 148.4 kB / 0.6438 GB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/0.9856, allocations: 40 kB / 0.6438 GB, free: 29.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001516/0.9871, allocations: 1.238 MB / 0.6451 GB, free: 27.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9871, allocations: 0 / 0.6451 GB, free: 27.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003403/0.9905, allocations: 1.195 MB / 0.6462 GB, free: 26.73 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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,72.2%) 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.006033/0.9966, allocations: 5.728 MB / 0.6518 GB, free: 21.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007249/1.004, allocations: 5.442 MB / 0.6571 GB, free: 16.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.004, allocations: 0 / 0.6571 GB, free: 16.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002767/1.007, allocations: 2.1 MB / 0.6592 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/1.009, allocations: 0.5348 MB / 0.6597 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00916/1.018, allocations: 5.423 MB / 0.665 GB, free: 9.246 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.02, allocations: 2.05 MB / 0.667 GB, free: 7.629 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002112/1.022, allocations: 0.6963 MB / 0.6677 GB, free: 7.184 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008846/1.023, allocations: 0.9639 MB / 0.6686 GB, free: 6.293 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/1.023, allocations: 0 / 0.6686 GB, free: 6.293 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3206/1.343, allocations: 69.76 MB / 0.7367 GB, free: 91.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.344, allocations: 223.6 kB / 0.737 GB, free: 91.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.166/5.509, allocations: 0 / 0.737 GB, free: 91.59 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)