Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [: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.00237/0.00237, allocations: 178.4 kB / 7.451 MB, free: 2.512 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.091/1.091, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001661/0.001661, allocations: 109.2 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.081e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.08993, allocations: 38.75 MB / 300.5 MB, free: 3.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2882/0.3782, allocations: 81.52 MB / 382 MB, free: 3.129 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.3785, allocations: 83.83 kB / 382.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.4839/0.8625, allocations: 116.6 MB / 498.7 MB, free: 57.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004637/0.863, allocations: 111.9 kB / 498.8 MB, free: 57.83 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01105/0.8741, allocations: 3.835 MB / 0.4908 GB, free: 56.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.8741, allocations: 10.72 kB / 0.4909 GB, free: 56.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.877, allocations: 0.5566 MB / 0.4914 GB, free: 56.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006078/0.883, allocations: 2.756 MB / 0.4941 GB, free: 55.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.8832, allocations: 133.1 kB / 0.4942 GB, free: 55.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006894/0.8839, allocations: 225.9 kB / 0.4944 GB, free: 55.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008183/0.8921, allocations: 4.408 MB / 0.4987 GB, free: 55.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00753/0.8997, allocations: 5.097 MB / 0.5037 GB, free: 54.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.46e-05/0.8998, allocations: 3.281 kB / 0.5037 GB, free: 54.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.9001, allocations: 7.844 kB / 0.5037 GB, free: 54.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.9003, allocations: 216.4 kB / 0.5039 GB, free: 54.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03033/0.9306, allocations: 15.81 MB / 0.5194 GB, free: 49.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004983/0.9357, allocations: 3.339 MB / 0.5226 GB, free: 48.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003823/0.9395, allocations: 2.812 MB / 0.5254 GB, free: 47.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/0.94, allocations: 151.7 kB / 0.5255 GB, free: 47.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.9401, allocations: 60.22 kB / 0.5256 GB, free: 47.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.51e-06/0.9401, allocations: 0 / 0.5256 GB, free: 47.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.01791/0.958, allocations: 7.604 MB / 0.533 GB, free: 44.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.9581, allocations: 81.64 kB / 0.5331 GB, free: 44.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006249/0.9644, allocations: 1.861 MB / 0.5349 GB, free: 43.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006744/0.9651, allocations: 27.61 kB / 0.5349 GB, free: 43.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.9662, allocations: 1.296 MB / 0.5362 GB, free: 42.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001429/0.9676, allocations: 0.8061 MB / 0.537 GB, free: 42.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.9681, allocations: 0 / 0.537 GB, free: 42.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002887/0.9684, allocations: 400.9 kB / 0.5374 GB, free: 41.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/0.9709, allocations: 1.318 MB / 0.5386 GB, free: 41.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.9735, allocations: 1.594 MB / 0.5402 GB, free: 40.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.9759, allocations: 1.568 MB / 0.5417 GB, free: 38.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.9759, allocations: 0 / 0.5417 GB, free: 38.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.007819/0.9838, allocations: 4.243 MB / 0.5459 GB, free: 35.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.9839, allocations: 4 kB / 0.5459 GB, free: 35.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.9839, allocations: 11.94 kB / 0.5459 GB, free: 35.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003601/0.9875, allocations: 1.407 MB / 0.5473 GB, free: 34.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.9893, allocations: 399.5 kB / 0.5476 GB, free: 33.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/1.008, allocations: 21.94 MB / 0.5691 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/1.011, allocations: 34.27 kB / 0.5691 GB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005975/1.012, allocations: 80 kB / 0.5692 GB, free: 12.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009247/1.013, allocations: 148.2 kB / 0.5693 GB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.014, allocations: 260.9 kB / 0.5696 GB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00775/1.022, allocations: 4.004 MB / 0.5735 GB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/1.022, allocations: 31.91 kB / 0.5735 GB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-05/1.022, allocations: 12 kB / 0.5735 GB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/1.022, allocations: 10.45 kB / 0.5735 GB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/1.04, allocations: 8.07 MB / 0.5814 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.04, allocations: 0 / 0.5814 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.041, allocations: 311.8 kB / 0.5817 GB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/1.044, allocations: 1.386 MB / 0.5831 GB, free: 452 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.045, allocations: 21.72 kB / 0.5831 GB, free: 436 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2312/1.276, allocations: 21.9 MB / 0.6045 GB, free: 96.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.276, allocations: 0 / 0.6045 GB, free: 96.69 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01533/1.291, allocations: 6.117 MB / 0.6105 GB, free: 96.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002962/1.294, allocations: 0.6459 MB / 0.6111 GB, free: 96.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/1.295, allocations: 20.75 kB / 0.6111 GB, free: 96.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.298, allocations: 81.92 kB / 0.6112 GB, free: 96.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004966/1.299, allocations: 145.1 kB / 0.6113 GB, free: 96.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/1.299, allocations: 70.03 kB / 0.6114 GB, free: 96.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.003402/1.302, allocations: 1.425 MB / 0.6128 GB, free: 96.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00607/1.308, allocations: 0.8401 MB / 0.6136 GB, free: 96.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007102/1.309, allocations: 224.7 kB / 0.6138 GB, free: 95.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009766/1.319, allocations: 4.47 MB / 0.6182 GB, free: 94.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.319, allocations: 0 / 0.6182 GB, free: 94.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006811/1.326, allocations: 2.988 MB / 0.6211 GB, free: 93.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005322/1.331, allocations: 0.5892 MB / 0.6217 GB, free: 93.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/1.352, allocations: 7.036 MB / 0.6285 GB, free: 92.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005035/1.357, allocations: 3.338 MB / 0.6318 GB, free: 91.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/1.357, allocations: 0 / 0.6318 GB, free: 91.81 MB / 362.7 MB Notification: Performance of Templates: time 0.107/1.464, allocations: 47.24 MB / 0.6779 GB, free: 79.74 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)