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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002853/0.002853, allocations: 175.2 kB / 7.451 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.329/1.329, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001866/0.001866, allocations: 107.9 kB / 217.7 MB, free: 8.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.897e-06/9.168e-06, allocations: 4 kB / 261.8 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.09837, allocations: 38.75 MB / 300.5 MB, free: 3.914 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.416/0.5144, allocations: 115.1 MB / 415.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.5148, allocations: 86.64 kB / 415.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.1543/0.6691, allocations: 54.9 MB / 470.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004679/0.6696, allocations: 71.86 kB / 470.7 MB, free: 0.5352 MB / 346.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.2233/0.8929, allocations: 2.563 MB / 473.2 MB, free: 60.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.893, allocations: 9.906 kB / 473.2 MB, free: 60.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.895, allocations: 441 kB / 473.7 MB, free: 60.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.8987, allocations: 1.745 MB / 475.4 MB, free: 60.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.263e-05/0.8988, allocations: 75.16 kB / 475.5 MB, free: 60.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.8992, allocations: 141.9 kB / 475.6 MB, free: 60.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003583/0.9028, allocations: 2.262 MB / 477.9 MB, free: 60.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00392/0.9067, allocations: 2.635 MB / 480.5 MB, free: 60 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.382e-05/0.9068, allocations: 16.45 kB / 480.5 MB, free: 60 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.907, allocations: 3.812 kB / 480.5 MB, free: 60 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.461e-05/0.9071, allocations: 95.3 kB / 480.6 MB, free: 59.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.9242, allocations: 9.692 MB / 490.3 MB, free: 57.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.9268, allocations: 1.105 MB / 491.4 MB, free: 57.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/0.9292, allocations: 1.173 MB / 492.6 MB, free: 57.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004052/0.9297, allocations: 139 kB / 492.7 MB, free: 57.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.9297, allocations: 50.59 kB / 492.8 MB, free: 57.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=151): time 5.44e-06/0.9297, allocations: 0 / 492.8 MB, free: 57.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=174): time 0.01879/0.9485, allocations: 5.84 MB / 498.6 MB, free: 56.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.9487, allocations: 200.3 kB / 498.8 MB, free: 55.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/0.9521, allocations: 1.312 MB / 0.4884 GB, free: 55.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003776/0.9525, allocations: 33.38 kB / 0.4884 GB, free: 55.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/0.9531, allocations: 0.8759 MB / 0.4893 GB, free: 55.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007376/0.9539, allocations: 0.5635 MB / 0.4899 GB, free: 54.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.954, allocations: 0 / 0.4899 GB, free: 54.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.9542, allocations: 388.5 kB / 0.4902 GB, free: 54.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.9563, allocations: 0.874 MB / 0.4911 GB, free: 54.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.959, allocations: 1.307 MB / 0.4924 GB, free: 54.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.9616, allocations: 1.078 MB / 0.4934 GB, free: 54.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.9616, allocations: 6.812 kB / 0.4934 GB, free: 54.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.008857/0.9705, allocations: 3.086 MB / 0.4964 GB, free: 53.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.9706, allocations: 7.141 kB / 0.4964 GB, free: 53.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.514e-05/0.9706, allocations: 13.12 kB / 0.4964 GB, free: 53.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004494/0.9751, allocations: 0.9598 MB / 0.4974 GB, free: 53.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.9784, allocations: 361.2 kB / 0.4977 GB, free: 53.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.9987, allocations: 11 MB / 0.5085 GB, free: 46.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003679/1.002, allocations: 56.36 kB / 0.5085 GB, free: 46.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003841/1.003, allocations: 74.03 kB / 0.5086 GB, free: 46.54 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 () * 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.0005551/1.003, allocations: 145.8 kB / 0.5087 GB, free: 46.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006559/1.004, allocations: 204.9 kB / 0.5089 GB, free: 46.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007915/1.012, allocations: 2.796 MB / 0.5117 GB, free: 45.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.012, allocations: 21.75 kB / 0.5117 GB, free: 45.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.012, allocations: 7.656 kB / 0.5117 GB, free: 45.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-05/1.012, allocations: 7.031 kB / 0.5117 GB, free: 45.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/1.029, allocations: 5.403 MB / 0.517 GB, free: 43.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/1.029, allocations: 4.969 kB / 0.517 GB, free: 43.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/1.031, allocations: 220.3 kB / 0.5172 GB, free: 43.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005065/1.036, allocations: 1.029 MB / 0.5182 GB, free: 42.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003679/1.037, allocations: 16.17 kB / 0.5182 GB, free: 42.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/1.053, allocations: 12.63 MB / 0.5305 GB, free: 34.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.053, allocations: 2.25 kB / 0.5305 GB, free: 34.22 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006849/1.06, allocations: 4.317 MB / 0.5348 GB, free: 31.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.061, allocations: 466.9 kB / 0.5352 GB, free: 30.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/1.062, allocations: 15 kB / 0.5352 GB, free: 30.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.063, allocations: 66.16 kB / 0.5353 GB, free: 30.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/1.063, allocations: 94.5 kB / 0.5354 GB, free: 30.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.063, allocations: 48 kB / 0.5354 GB, free: 30.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001489/1.065, allocations: 0.9914 MB / 0.5364 GB, free: 29.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003/1.068, allocations: 0.6105 MB / 0.537 GB, free: 28.95 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 () * 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.0007761/1.068, allocations: 366 kB / 0.5373 GB, free: 28.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004248/1.073, allocations: 2.9 MB / 0.5402 GB, free: 25.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.073, allocations: 4 kB / 0.5402 GB, free: 25.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002722/1.075, allocations: 1.885 MB / 0.542 GB, free: 24.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.078, allocations: 396.4 kB / 0.5424 GB, free: 23.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009621/1.088, allocations: 4.589 MB / 0.5469 GB, free: 19.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/1.09, allocations: 2.091 MB / 0.5489 GB, free: 18.15 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/1.09, allocations: 0 / 0.5489 GB, free: 18.15 MB / 346.7 MB Notification: Performance of Templates: time 0.05816/1.148, allocations: 33.13 MB / 0.5813 GB, free: 10.43 MB / 362.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)