Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.001888/0.001888, allocations: 191.7 kB / 8.139 MB, free: 2.207 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.131/1.131, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.001517/0.001517, allocations: 122.3 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.483e-06/6.523e-06, allocations: 0 / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07512/0.07515, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/0.2897, allocations: 86.84 MB / 428.9 MB, free: 8.285 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.2899, allocations: 86.64 kB / 429 MB, free: 8.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.43/0.7199, allocations: 116.4 MB / 0.5326 GB, free: 39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003868/0.7203, allocations: 115.1 kB / 0.5328 GB, free: 38.98 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.009679/0.73, allocations: 3.826 MB / 0.5365 GB, free: 37.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.7301, allocations: 10.47 kB / 0.5365 GB, free: 37.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.7327, allocations: 0.5598 MB / 0.537 GB, free: 37.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005688/0.7384, allocations: 2.749 MB / 0.5397 GB, free: 36.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.7386, allocations: 123.5 kB / 0.5398 GB, free: 36.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008876/0.7395, allocations: 233.4 kB / 0.5401 GB, free: 36.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008867/0.7483, allocations: 4.403 MB / 0.5444 GB, free: 36.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009431/0.7578, allocations: 5.098 MB / 0.5493 GB, free: 36.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.945e-05/0.7579, allocations: 5.75 kB / 0.5494 GB, free: 36.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005726/0.7585, allocations: 5.906 kB / 0.5494 GB, free: 36.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.7586, allocations: 212.6 kB / 0.5496 GB, free: 36.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.7831, allocations: 15.81 MB / 0.565 GB, free: 33.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.7872, allocations: 3.344 MB / 0.5683 GB, free: 33.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003359/0.7906, allocations: 2.806 MB / 0.571 GB, free: 33.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.7909, allocations: 152.8 kB / 0.5711 GB, free: 33.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.791, allocations: 58.31 kB / 0.5712 GB, free: 33.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 4.488e-06/0.791, allocations: 3.656 kB / 0.5712 GB, free: 33.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.01254/0.8035, allocations: 7.604 MB / 0.5786 GB, free: 30.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.8036, allocations: 76.86 kB / 0.5787 GB, free: 30.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.8065, allocations: 1.851 MB / 0.5805 GB, free: 29.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.8067, allocations: 29.61 kB / 0.5805 GB, free: 29.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.8072, allocations: 1.289 MB / 0.5818 GB, free: 28.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005401/0.8077, allocations: 0.8106 MB / 0.5826 GB, free: 28.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.8079, allocations: 4 kB / 0.5826 GB, free: 28.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.808, allocations: 404.3 kB / 0.583 GB, free: 27.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.8097, allocations: 1.317 MB / 0.5843 GB, free: 27.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.8117, allocations: 1.595 MB / 0.5858 GB, free: 26.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.8138, allocations: 1.563 MB / 0.5874 GB, free: 25.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.8138, allocations: 1.219 kB / 0.5874 GB, free: 25.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006953/0.8208, allocations: 4.249 MB / 0.5915 GB, free: 24.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.8208, allocations: 4.781 kB / 0.5915 GB, free: 24.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.8208, allocations: 5.406 kB / 0.5915 GB, free: 24.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/0.8242, allocations: 1.417 MB / 0.5929 GB, free: 23.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.8259, allocations: 395.3 kB / 0.5933 GB, free: 23.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/0.8453, allocations: 21.93 MB / 0.6147 GB, free: 23.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.8473, allocations: 34.88 kB / 0.6147 GB, free: 23.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.8476, allocations: 83.86 kB / 0.6148 GB, free: 23.38 MB / 410.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.000496/0.8481, allocations: 154.1 kB / 0.6149 GB, free: 23.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/0.8486, allocations: 254.3 kB / 0.6152 GB, free: 23.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/0.8543, allocations: 4.002 MB / 0.6191 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.8544, allocations: 24.19 kB / 0.6191 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.8544, allocations: 15.09 kB / 0.6191 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.8544, allocations: 13.69 kB / 0.6191 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.8661, allocations: 8.073 MB / 0.627 GB, free: 18.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.8661, allocations: 3.875 kB / 0.627 GB, free: 18.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.8675, allocations: 303.8 kB / 0.6273 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.8708, allocations: 1.394 MB / 0.6287 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/0.871, allocations: 22.78 kB / 0.6287 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02203/0.893, allocations: 21.88 MB / 0.6501 GB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.893, allocations: 0 / 0.6501 GB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01007/0.9031, allocations: 6.113 MB / 0.656 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.9048, allocations: 0.6569 MB / 0.6567 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/0.9053, allocations: 19.75 kB / 0.6567 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.9066, allocations: 73.86 kB / 0.6568 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.907, allocations: 151 kB / 0.6569 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.9072, allocations: 67.7 kB / 0.657 GB, free: 10.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002147/0.9093, allocations: 1.425 MB / 0.6584 GB, free: 9.695 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003292/0.9126, allocations: 0.832 MB / 0.6592 GB, free: 8.863 MB / 426.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.0004635/0.9131, allocations: 224 kB / 0.6594 GB, free: 8.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007134/0.9202, allocations: 4.468 MB / 0.6638 GB, free: 4.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9203, allocations: 4 kB / 0.6638 GB, free: 4.512 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004905/0.9252, allocations: 2.99 MB / 0.6667 GB, free: 1.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/0.9284, allocations: 0.593 MB / 0.6673 GB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1198/1.048, allocations: 7.068 MB / 0.6742 GB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003168/1.051, allocations: 3.334 MB / 0.6774 GB, free: 120.3 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/1.051, allocations: 3.219 kB / 0.6774 GB, free: 120.3 MB / 426.7 MB Notification: Performance of Templates: time 0.06584/1.117, allocations: 47.23 MB / 0.7236 GB, free: 118.2 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)