Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [: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.003127/0.003127, allocations: 175.5 kB / 7.451 MB, free: 2.504 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.173/1.173, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001584/0.001584, allocations: 99.88 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.554e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08222/0.08225, allocations: 38.76 MB / 300.5 MB, free: 3.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2918/0.3741, allocations: 79.91 MB / 380.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.3744, allocations: 87.95 kB / 380.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1784/0.5528, allocations: 63.38 MB / 443.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003793/0.5533, allocations: 67.88 kB / 444 MB, free: 11.14 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008254/0.5616, allocations: 2.28 MB / 446.2 MB, free: 8.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5616, allocations: 8.031 kB / 446.2 MB, free: 8.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.5637, allocations: 312.7 kB / 446.5 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.5692, allocations: 1.592 MB / 448.1 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.5694, allocations: 68 kB / 448.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009706/0.5704, allocations: 127.9 kB / 448.3 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006161/0.5765, allocations: 2.383 MB / 450.7 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00843/0.585, allocations: 2.777 MB / 453.5 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.256e-05/0.5851, allocations: 4 kB / 453.5 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005202/0.5857, allocations: 0 / 453.5 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.5858, allocations: 120.4 kB / 453.6 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0194/0.6052, allocations: 8.557 MB / 462.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.6081, allocations: 1.677 MB / 463.8 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.6104, allocations: 1.417 MB / 465.3 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004069/0.6108, allocations: 130.4 kB / 465.4 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.6109, allocations: 47.88 kB / 465.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 4.328e-06/0.6109, allocations: 0 / 465.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01016/0.6211, allocations: 4.018 MB / 469.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.6212, allocations: 72.66 kB / 469.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1534/0.7747, allocations: 1.088 MB / 470.6 MB, free: 113.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000335/0.7751, allocations: 29.42 kB / 470.6 MB, free: 113.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005027/0.7756, allocations: 0.7647 MB / 471.4 MB, free: 113.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004465/0.7761, allocations: 424.5 kB / 471.8 MB, free: 113 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/0.7761, allocations: 0 / 471.8 MB, free: 113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7763, allocations: 363.3 kB / 472.2 MB, free: 112.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.7773, allocations: 0.6769 MB / 472.9 MB, free: 112.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000911/0.7782, allocations: 0.8221 MB / 473.7 MB, free: 112.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.7793, allocations: 0.8086 MB / 474.5 MB, free: 112.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7793, allocations: 3.719 kB / 474.5 MB, free: 112.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003384/0.7827, allocations: 2.18 MB / 476.7 MB, free: 112.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.7827, allocations: 3.75 kB / 476.7 MB, free: 112.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.7827, allocations: 3.906 kB / 476.7 MB, free: 112.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.7845, allocations: 0.7052 MB / 477.4 MB, free: 112.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/0.7854, allocations: 210.9 kB / 477.6 MB, free: 112.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.7955, allocations: 9.798 MB / 487.4 MB, free: 107.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.7969, allocations: 25.14 kB / 487.4 MB, free: 107.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.797, allocations: 41.09 kB / 487.4 MB, free: 107.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003274/0.7974, allocations: 127.7 kB / 487.6 MB, free: 107.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.7977, allocations: 144.8 kB / 487.7 MB, free: 107 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.8008, allocations: 2.074 MB / 489.8 MB, free: 106.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.8009, allocations: 10.16 kB / 489.8 MB, free: 106.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.8009, allocations: 15.06 kB / 489.8 MB, free: 106.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.8009, allocations: 10.08 kB / 489.8 MB, free: 106.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/0.8078, allocations: 4.264 MB / 494.1 MB, free: 106.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.8078, allocations: 6.5 kB / 494.1 MB, free: 106.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/0.8086, allocations: 163.3 kB / 494.3 MB, free: 106.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.8102, allocations: 0.6857 MB / 494.9 MB, free: 106.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.8103, allocations: 11.2 kB / 494.9 MB, free: 106.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008957/0.8192, allocations: 9.784 MB / 0.4929 GB, free: 101.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.8193, allocations: 0 / 0.4929 GB, free: 101.3 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004433/0.8237, allocations: 3.208 MB / 0.496 GB, free: 100.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009465/0.8247, allocations: 391.2 kB / 0.4964 GB, free: 100.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.8249, allocations: 12.47 kB / 0.4964 GB, free: 100.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.8257, allocations: 47.8 kB / 0.4965 GB, free: 100.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.8259, allocations: 75.8 kB / 0.4965 GB, free: 100.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.409e-05/0.826, allocations: 44.58 kB / 0.4966 GB, free: 100.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001135/0.8271, allocations: 0.8368 MB / 0.4974 GB, free: 100.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001829/0.8289, allocations: 465.2 kB / 0.4978 GB, free: 100.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003714/0.8293, allocations: 185 kB / 0.498 GB, free: 100.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00284/0.8322, allocations: 2.19 MB / 0.5002 GB, free: 99.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8322, allocations: 0 / 0.5002 GB, free: 99.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.834, allocations: 1.439 MB / 0.5016 GB, free: 99.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.8355, allocations: 322.4 kB / 0.5019 GB, free: 99.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/0.8427, allocations: 3.729 MB / 0.5055 GB, free: 97.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/0.8446, allocations: 2.127 MB / 0.5076 GB, free: 96.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.343e-06/0.8446, allocations: 6.203 kB / 0.5076 GB, free: 96.88 MB / 346.7 MB Notification: Performance of Templates: time 0.04496/0.8896, allocations: 24.8 MB / 0.5318 GB, free: 88.92 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)