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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01447/0.01447, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002762/0.002762, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 49.64 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1303, allocations: 46.62 MB / 373.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01347/0.1438, allocations: 10.65 MB / 383.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008533/0.1524, allocations: 3.268 MB / 387.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003392/0.1558, allocations: 71.62 kB / 387.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.1591, allocations: 0.7371 MB / 387.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006/0.1652, allocations: 1.169 MB / 389.1 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.1676, allocations: 499.4 kB / 389.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.1777, allocations: 5.284 MB / 394.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009088/0.1868, allocations: 4.12 MB / 399 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006994/0.1939, allocations: 2.379 MB / 401.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006295/0.2002, allocations: 2.756 MB / 404.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002616/0.2028, allocations: 0.6211 MB / 404.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/0.2064, allocations: 0.703 MB / 405.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003593/0.21, allocations: 1.632 MB / 407.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008891/0.2189, allocations: 2.766 MB / 409.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.2353, allocations: 8.401 MB / 418.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.2354, allocations: 0 / 418.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.2354, allocations: 3.984 kB / 418.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004448/0.2358, allocations: 0 / 418.2 MB, free: 3.984 MB / 350.1 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.02394/0.2598, allocations: 5.08 MB / 423.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.2599, allocations: 12.03 kB / 423.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003927/0.2638, allocations: 0.5498 MB / 423.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009655/0.2735, allocations: 2.627 MB / 426.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004713/0.274, allocations: 287.8 kB / 426.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00263/0.2767, allocations: 391.9 kB / 427.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/0.2958, allocations: 5.781 MB / 433 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.296, allocations: 3.984 kB / 433 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001299/0.2973, allocations: 168 kB / 433.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003307/0.2976, allocations: 208 kB / 433.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/0.311, allocations: 5.016 MB / 438.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2881/0.5991, allocations: 16.18 MB / 454.5 MB, free: 63.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007283/0.6065, allocations: 6.811 MB / 461.3 MB, free: 59.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004366/0.6109, allocations: 2.622 MB / 464 MB, free: 58.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/0.6112, allocations: 133.2 kB / 464.1 MB, free: 58.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.6113, allocations: 67.55 kB / 464.2 MB, free: 58.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 5.08e-06/0.6113, allocations: 0 / 464.2 MB, free: 58.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.01927/0.6305, allocations: 10.69 MB / 474.8 MB, free: 54.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.6306, allocations: 77.11 kB / 474.9 MB, free: 54.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/0.634, allocations: 2.639 MB / 477.6 MB, free: 53.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.6343, allocations: 68.86 kB / 477.6 MB, free: 53.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007724/0.6351, allocations: 1.638 MB / 479.3 MB, free: 51.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005207/0.6356, allocations: 0.8453 MB / 480.1 MB, free: 50.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/0.6361, allocations: 409.2 kB / 480.5 MB, free: 50.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.6362, allocations: 312.6 kB / 480.8 MB, free: 50.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.6378, allocations: 1.331 MB / 482.2 MB, free: 49.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.6395, allocations: 1.65 MB / 483.8 MB, free: 48.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.6429, allocations: 3.087 MB / 486.9 MB, free: 46.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.6429, allocations: 3.906 kB / 486.9 MB, free: 46.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.005951/0.6488, allocations: 4.447 MB / 491.3 MB, free: 42.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.6489, allocations: 8 kB / 491.3 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.6489, allocations: 11.98 kB / 491.4 MB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/0.6529, allocations: 1.534 MB / 492.9 MB, free: 41.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.6544, allocations: 393.2 kB / 493.3 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/0.6732, allocations: 25.72 MB / 0.5068 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.6756, allocations: 103.8 kB / 0.5069 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/0.6758, allocations: 76 kB / 0.507 GB, free: 13.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002281/0.6781, allocations: 1.407 MB / 0.5084 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007561/0.6789, allocations: 300.5 kB / 0.5087 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006303/0.6852, allocations: 4.38 MB / 0.5129 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.6852, allocations: 24 kB / 0.513 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.6853, allocations: 8 kB / 0.513 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/0.6853, allocations: 11.95 kB / 0.513 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.6996, allocations: 8.776 MB / 0.5216 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6996, allocations: 0 / 0.5216 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.7009, allocations: 283.6 kB / 0.5218 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004456/0.7053, allocations: 1.507 MB / 0.5233 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000267/0.7056, allocations: 59.97 kB / 0.5234 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02776/0.7334, allocations: 25.5 MB / 0.5483 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.7334, allocations: 3.984 kB / 0.5483 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/0.7456, allocations: 6.094 MB / 0.5542 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/0.7481, allocations: 0.6655 MB / 0.5549 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/0.7492, allocations: 59.98 kB / 0.5549 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/0.7515, allocations: 127.8 kB / 0.555 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/0.7523, allocations: 209.6 kB / 0.5552 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002681/0.7526, allocations: 67.98 kB / 0.5553 GB, free: 10.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004527/0.7571, allocations: 1.852 MB / 0.5571 GB, free: 8.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7572, allocations: 0 / 0.5571 GB, free: 8.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006277/0.7634, allocations: 0.9573 MB / 0.558 GB, free: 7.461 MB / 430.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.7646, allocations: 235.3 kB / 0.5583 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009715/0.7744, allocations: 4.876 MB / 0.563 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.7744, allocations: 0 / 0.563 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005981/0.7804, allocations: 3.358 MB / 0.5663 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006943/0.7874, allocations: 0.9578 MB / 0.5672 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/0.8089, allocations: 8.424 MB / 0.5755 GB, free: 5.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005425/0.8144, allocations: 3.173 MB / 0.5786 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002428/0.8168, allocations: 0.5674 MB / 0.5791 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009058/0.8177, allocations: 163.4 kB / 0.5793 GB, free: 1.387 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/0.8178, allocations: 4 kB / 0.5793 GB, free: 1.383 MB / 446.1 MB Notification: Performance of Templates: time 0.4476/1.265, allocations: 60.11 MB / 0.638 GB, free: 158.3 MB / 494.1 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)