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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.006519/0.006519, allocations: 165.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.186/1.186, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001564/0.001564, allocations: 109.2 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.000348, allocations: 12 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2004, allocations: 38.76 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2724/0.4729, allocations: 115.9 MB / 428.8 MB, free: 88.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.4732, allocations: 88.53 kB / 428.9 MB, free: 88.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.125/0.5982, allocations: 55.58 MB / 484.5 MB, free: 40.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5983, allocations: 0 / 484.5 MB, free: 40.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002735/0.5985, allocations: 63.94 kB / 484.6 MB, free: 40.51 MB / 314.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.007661/0.6062, allocations: 2.941 MB / 487.5 MB, free: 37.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6063, allocations: 12.03 kB / 487.5 MB, free: 37.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.6086, allocations: 428.5 kB / 487.9 MB, free: 37.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.6128, allocations: 1.734 MB / 489.7 MB, free: 35.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.6129, allocations: 176.7 kB / 489.8 MB, free: 35.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006583/0.6136, allocations: 243.9 kB / 490.1 MB, free: 34.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005537/0.6192, allocations: 3.003 MB / 493.1 MB, free: 31.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-05/0.6193, allocations: 11.91 kB / 493.1 MB, free: 31.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002807/0.6195, allocations: 100 kB / 493.2 MB, free: 31.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.331e-05/0.6196, allocations: 100.5 kB / 493.3 MB, free: 31.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.6235, allocations: 2.426 MB / 495.7 MB, free: 29.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01811/0.6416, allocations: 10.08 MB / 0.4939 GB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.6449, allocations: 2.77 MB / 0.4966 GB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.6453, allocations: 138.4 kB / 0.4968 GB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.6454, allocations: 47.88 kB / 0.4968 GB, free: 15.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 6.032e-06/0.6454, allocations: 0 / 0.4968 GB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=174): time 0.01878/0.6642, allocations: 9.072 MB / 0.5057 GB, free: 6.262 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.6643, allocations: 197.9 kB / 0.5059 GB, free: 6.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/0.6672, allocations: 1.6 MB / 0.5074 GB, free: 4.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.6674, allocations: 57.7 kB / 0.5075 GB, free: 4.324 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006993/0.6681, allocations: 1.134 MB / 0.5086 GB, free: 3.176 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.6686, allocations: 0.5892 MB / 0.5092 GB, free: 2.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.6688, allocations: 40 kB / 0.5092 GB, free: 2.539 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6689, allocations: 381.9 kB / 0.5096 GB, free: 2.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.6702, allocations: 0.9057 MB / 0.5104 GB, free: 1.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.6719, allocations: 1.356 MB / 0.5118 GB, free: 15.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.6737, allocations: 1.099 MB / 0.5128 GB, free: 14.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.6737, allocations: 4 kB / 0.5128 GB, free: 14.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.00619/0.6799, allocations: 3.298 MB / 0.5161 GB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.68, allocations: 17.56 kB / 0.5161 GB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/0.6801, allocations: 12 kB / 0.5161 GB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/0.6826, allocations: 0.968 MB / 0.517 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.6845, allocations: 367.5 kB / 0.5174 GB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/0.7065, allocations: 12.33 MB / 0.5294 GB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.7097, allocations: 116 kB / 0.5295 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006303/0.7103, allocations: 76.11 kB / 0.5296 GB, free: 12.87 MB / 346.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.003561/0.7139, allocations: 0.7281 MB / 0.5303 GB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/0.7151, allocations: 217.4 kB / 0.5305 GB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009145/0.7243, allocations: 2.979 MB / 0.5334 GB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.7244, allocations: 16 kB / 0.5335 GB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/0.7244, allocations: 8 kB / 0.5335 GB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-05/0.7244, allocations: 7.969 kB / 0.5335 GB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.7412, allocations: 5.888 MB / 0.5392 GB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.7413, allocations: 4 kB / 0.5392 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.7423, allocations: 223.6 kB / 0.5394 GB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.745, allocations: 1.027 MB / 0.5404 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/0.7452, allocations: 43.98 kB / 0.5405 GB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2052/0.9504, allocations: 14.05 MB / 0.5542 GB, free: 67.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9505, allocations: 9.594 kB / 0.5542 GB, free: 67.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00701/0.9575, allocations: 4.426 MB / 0.5585 GB, free: 67.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.9589, allocations: 500 kB / 0.559 GB, free: 67.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/0.9592, allocations: 38.5 kB / 0.559 GB, free: 67.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.9603, allocations: 107 kB / 0.5592 GB, free: 67.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003423/0.9607, allocations: 140.2 kB / 0.5593 GB, free: 67.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.856e-05/0.9608, allocations: 48.7 kB / 0.5593 GB, free: 67.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001642/0.9625, allocations: 1.237 MB / 0.5605 GB, free: 66.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.693e-06/0.9625, allocations: 1.938 kB / 0.5605 GB, free: 66.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002862/0.9653, allocations: 0.7408 MB / 0.5613 GB, free: 66.96 MB / 346.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.0007082/0.9661, allocations: 365.4 kB / 0.5616 GB, free: 66.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004659/0.9707, allocations: 3.186 MB / 0.5647 GB, free: 66.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.9708, allocations: 0 / 0.5647 GB, free: 66.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003137/0.9739, allocations: 2.147 MB / 0.5668 GB, free: 65.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.9765, allocations: 0.5232 MB / 0.5673 GB, free: 65.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.9877, allocations: 6.587 MB / 0.5738 GB, free: 62.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.9893, allocations: 2.018 MB / 0.5757 GB, free: 62.13 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001521/0.9908, allocations: 363.4 kB / 0.5761 GB, free: 62.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.9912, allocations: 119.2 kB / 0.5762 GB, free: 62.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9912, allocations: 0 / 0.5762 GB, free: 62.08 MB / 346.7 MB Notification: Performance of Templates: time 0.06085/1.052, allocations: 39.4 MB / 0.6147 GB, free: 45.77 MB / 346.7 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)