Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.2+maint.om/package.mo): time 0.00173/0.001731, allocations: 192.1 kB / 8.139 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.149/1.149, allocations: 194.2 MB / 202.8 MB, free: 8.719 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.001864/0.001864, allocations: 113.8 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.522e-06, allocations: 0 / 297.6 MB, free: 8.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07585/0.07587, allocations: 44.49 MB / 342.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2555/0.3314, allocations: 124.5 MB / 466.6 MB, free: 3.652 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.3317, allocations: 81.33 kB / 466.6 MB, free: 3.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3842/0.7159, allocations: 94.07 MB / 0.5476 GB, free: 77.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003879/0.7163, allocations: 92.86 kB / 0.5477 GB, free: 77.4 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01064/0.727, allocations: 3.725 MB / 0.5513 GB, free: 75.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7271, allocations: 7.469 kB / 0.5513 GB, free: 75.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006125/0.7332, allocations: 0.9182 MB / 0.5522 GB, free: 75.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009758/0.743, allocations: 3.602 MB / 0.5557 GB, free: 74.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.7432, allocations: 117.4 kB / 0.5558 GB, free: 74.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/0.7446, allocations: 226.4 kB / 0.556 GB, free: 74.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008174/0.7528, allocations: 3.524 MB / 0.5595 GB, free: 72.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.7629, allocations: 4.045 MB / 0.5634 GB, free: 70.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/0.7631, allocations: 3.875 kB / 0.5634 GB, free: 70.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007944/0.7639, allocations: 11.88 kB / 0.5634 GB, free: 70.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.764, allocations: 158.4 kB / 0.5636 GB, free: 70.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02849/0.7925, allocations: 15.18 MB / 0.5784 GB, free: 62.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.7951, allocations: 1.428 MB / 0.5798 GB, free: 61.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/0.798, allocations: 1.726 MB / 0.5815 GB, free: 61.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.8085, allocations: 5.302 MB / 0.5867 GB, free: 58.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.8086, allocations: 52.59 kB / 0.5867 GB, free: 58.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=209): time 6.953e-06/0.8086, allocations: 1.156 kB / 0.5867 GB, free: 58.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=212): time 0.01299/0.8216, allocations: 5.566 MB / 0.5922 GB, free: 55.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.8217, allocations: 181.6 kB / 0.5923 GB, free: 55.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/0.8255, allocations: 1.563 MB / 0.5939 GB, free: 54.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.8257, allocations: 25.7 kB / 0.5939 GB, free: 54.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007372/0.8265, allocations: 1.304 MB / 0.5952 GB, free: 53.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005863/0.8271, allocations: 0.6863 MB / 0.5958 GB, free: 53.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.8272, allocations: 0 / 0.5958 GB, free: 53.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.8274, allocations: 407.2 kB / 0.5962 GB, free: 52.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.8289, allocations: 0.9225 MB / 0.5971 GB, free: 52.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.8307, allocations: 1.55 MB / 0.5986 GB, free: 51.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.833, allocations: 1.223 MB / 0.5998 GB, free: 50.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.833, allocations: 6.094 kB / 0.5998 GB, free: 50.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005662/0.8387, allocations: 3.121 MB / 0.6029 GB, free: 49.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001345/0.84, allocations: 7.433 MB / 0.6101 GB, free: 41.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-05/0.8401, allocations: 23.12 kB / 0.6102 GB, free: 41.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.8412, allocations: 477.7 kB / 0.6106 GB, free: 41.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.8434, allocations: 0.521 MB / 0.6111 GB, free: 41.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/0.8492, allocations: 7.607 MB / 0.6186 GB, free: 35.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.8514, allocations: 52.31 kB / 0.6186 GB, free: 35.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/0.8517, allocations: 99.16 kB / 0.6187 GB, free: 35.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.8517, allocations: 6.938 kB / 0.6187 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005384/0.8571, allocations: 2.845 MB / 0.6215 GB, free: 33.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.864e-05/0.8572, allocations: 20.38 kB / 0.6215 GB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.8582, allocations: 474.4 kB / 0.622 GB, free: 33.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.8606, allocations: 0.5246 MB / 0.6225 GB, free: 33.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/0.8665, allocations: 7.611 MB / 0.6299 GB, free: 25.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.8688, allocations: 38.09 kB / 0.6299 GB, free: 25.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/0.8692, allocations: 102 kB / 0.63 GB, free: 25.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (284): * Single equations (assignments): 277 * 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 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007071/0.8699, allocations: 173.4 kB / 0.6302 GB, free: 25.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007221/0.8707, allocations: 245 kB / 0.6304 GB, free: 24.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005956/0.8766, allocations: 2.971 MB / 0.6333 GB, free: 22.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.8767, allocations: 20 kB / 0.6334 GB, free: 22.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.8767, allocations: 4 kB / 0.6334 GB, free: 22.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/0.8767, allocations: 14.59 kB / 0.6334 GB, free: 22.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.8899, allocations: 6.125 MB / 0.6394 GB, free: 17.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.8899, allocations: 4 kB / 0.6394 GB, free: 17.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.8916, allocations: 299.7 kB / 0.6396 GB, free: 16.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.8933, allocations: 0.658 MB / 0.6403 GB, free: 16.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/0.8936, allocations: 19.23 kB / 0.6403 GB, free: 16.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.9038, allocations: 11.88 MB / 0.6519 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.9038, allocations: 0 / 0.6519 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006988/0.9108, allocations: 4.402 MB / 0.6562 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/0.9127, allocations: 0.525 MB / 0.6567 GB, free: 0 / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008718/0.9136, allocations: 17.92 kB / 0.6567 GB, free: 0 / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.9157, allocations: 72.14 kB / 0.6568 GB, free: 0 / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1302/1.046, allocations: 124.8 kB / 0.6569 GB, free: 107.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003225/1.046, allocations: 53.72 kB / 0.657 GB, free: 107.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00262/1.049, allocations: 1.163 MB / 0.6581 GB, free: 107.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007735/1.057, allocations: 1.184 MB / 0.6593 GB, free: 107.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,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 (158): * Single equations (assignments): 152 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 16} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/1.058, allocations: 436.8 kB / 0.6597 GB, free: 107.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007601/1.065, allocations: 4.918 MB / 0.6645 GB, free: 106.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.065, allocations: 0 / 0.6645 GB, free: 106.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002845/1.068, allocations: 1.917 MB / 0.6664 GB, free: 105.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/1.071, allocations: 465.5 kB / 0.6668 GB, free: 105.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.082, allocations: 5.771 MB / 0.6724 GB, free: 104.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002544/1.085, allocations: 2.71 MB / 0.6751 GB, free: 103.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/1.085, allocations: 0 / 0.6751 GB, free: 103.9 MB / 394.7 MB Notification: Performance of Templates: time 0.08246/1.167, allocations: 50.81 MB / 0.7247 GB, free: 99.02 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)