Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01288/0.01288, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001901/0.001901, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.837/1.837, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.001595/0.001595, allocations: 46.09 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1355, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008756/0.1444, allocations: 6.806 MB / 380 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005394/0.1498, allocations: 2.349 MB / 382.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007764/0.1506, allocations: 35.81 kB / 382.4 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.1519, allocations: 456.9 kB / 382.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.1536, allocations: 0.6953 MB / 383.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.1542, allocations: 279.6 kB / 383.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003143/0.1574, allocations: 2.918 MB / 386.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002743/0.1601, allocations: 2.443 MB / 389.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.1636, allocations: 1.32 MB / 390.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.1662, allocations: 1.533 MB / 392 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.1666, allocations: 348 kB / 392.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008292/0.1675, allocations: 435.8 kB / 392.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008064/0.1683, allocations: 0.8922 MB / 393.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.1704, allocations: 1.521 MB / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005297/0.1757, allocations: 4.611 MB / 399.8 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.1758, allocations: 8 kB / 399.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1758, allocations: 0 / 399.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.1759, allocations: 4 kB / 399.8 MB, free: 6.531 MB / 334.1 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.006838/0.1828, allocations: 2.948 MB / 402.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.1828, allocations: 12.03 kB / 402.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008607/0.1837, allocations: 305.6 kB / 403.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.1863, allocations: 1.515 MB / 404.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.1864, allocations: 176.3 kB / 404.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/0.1868, allocations: 211.9 kB / 405 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005388/0.1922, allocations: 3.171 MB / 408.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.1923, allocations: 11.88 kB / 408.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.1925, allocations: 91.98 kB / 408.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.1927, allocations: 112.4 kB / 408.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005352/0.198, allocations: 2.719 MB / 411.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/0.2132, allocations: 8.779 MB / 419.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.2168, allocations: 3.382 MB / 423.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.2189, allocations: 1.312 MB / 424.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.2192, allocations: 126.3 kB / 424.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.2193, allocations: 55.86 kB / 424.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.2193, allocations: 3.938 kB / 424.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01109/0.2304, allocations: 5.632 MB / 430.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.2305, allocations: 68.72 kB / 430.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.2328, allocations: 1.49 MB / 431.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.533e-05/0.2329, allocations: 45.7 kB / 431.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/0.2337, allocations: 0.937 MB / 432.9 MB, free: 4.531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.2341, allocations: 445.5 kB / 433.3 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.2344, allocations: 226.9 kB / 433.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2346, allocations: 353.9 kB / 433.9 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.2357, allocations: 0.6896 MB / 434.6 MB, free: 2.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.2368, allocations: 0.8715 MB / 435.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.2391, allocations: 1.605 MB / 437 MB, free: 244 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.2391, allocations: 7.938 kB / 437.1 MB, free: 236 kB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004241/0.2434, allocations: 2.318 MB / 439.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.2434, allocations: 8 kB / 439.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.2435, allocations: 4 kB / 439.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.2458, allocations: 0.7682 MB / 440.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.2466, allocations: 199.7 kB / 440.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.2591, allocations: 11.5 MB / 451.8 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.2605, allocations: 59.8 kB / 451.9 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/0.2606, allocations: 40 kB / 451.9 MB, free: 0.7422 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.2754/0.536, allocations: 0.8105 MB / 452.8 MB, free: 69.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005334/0.5365, allocations: 158.6 kB / 452.9 MB, free: 69.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/0.541, allocations: 2.273 MB / 455.2 MB, free: 69.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.5411, allocations: 22.59 kB / 455.2 MB, free: 69.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.5411, allocations: 5.219 kB / 455.2 MB, free: 69.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.5411, allocations: 6.094 kB / 455.2 MB, free: 69.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.5514, allocations: 4.709 MB / 459.9 MB, free: 67.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.5515, allocations: 3.281 kB / 459.9 MB, free: 67.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.5521, allocations: 157.6 kB / 460.1 MB, free: 67.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/0.5544, allocations: 0.7481 MB / 460.8 MB, free: 67.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.5546, allocations: 32.92 kB / 460.9 MB, free: 67.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/0.5662, allocations: 11.39 MB / 472.2 MB, free: 59.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5663, allocations: 4.438 kB / 472.3 MB, free: 59.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/0.5713, allocations: 3.233 MB / 475.5 MB, free: 57.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008613/0.5722, allocations: 408.3 kB / 475.9 MB, free: 57.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.5724, allocations: 30.72 kB / 475.9 MB, free: 57.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.5731, allocations: 67.5 kB / 476 MB, free: 57.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/0.5734, allocations: 115.8 kB / 476.1 MB, free: 57.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.5735, allocations: 39.67 kB / 476.1 MB, free: 57.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001377/0.5749, allocations: 1.054 MB / 477.2 MB, free: 56.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5749, allocations: 2.094 kB / 477.2 MB, free: 56.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001863/0.5767, allocations: 0.5124 MB / 477.7 MB, free: 56.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004749/0.5772, allocations: 207 kB / 477.9 MB, free: 56.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.5802, allocations: 2.408 MB / 480.3 MB, free: 55.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5802, allocations: 0 / 480.3 MB, free: 55.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.5821, allocations: 1.642 MB / 482 MB, free: 53.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.5841, allocations: 0.5102 MB / 482.5 MB, free: 53.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/0.59, allocations: 4.6 MB / 487.1 MB, free: 48.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.5912, allocations: 2.039 MB / 489.1 MB, free: 46.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007889/0.592, allocations: 305.5 kB / 489.4 MB, free: 46.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.5922, allocations: 99.42 kB / 489.5 MB, free: 46.38 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5922, allocations: 0 / 489.5 MB, free: 46.38 MB / 382.1 MB Notification: Performance of Templates: time 0.04526/0.6375, allocations: 33.04 MB / 0.5103 GB, free: 13.29 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)