Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2_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.0009737/0.0009738, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.001121/0.001121, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.889/1.889, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004931/0.0004931, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1329, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008132/0.1411, allocations: 6.322 MB / 334.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005345/0.1465, allocations: 2.299 MB / 336.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.1483, allocations: 35.81 kB / 337 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.1502, allocations: 389.8 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.1534, allocations: 0.6179 MB / 338 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009735/0.1544, allocations: 243.8 kB / 338.2 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004949/0.1594, allocations: 3.284 MB / 341.5 MB, free: 6.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.162, allocations: 2.02 MB / 343.5 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.1648, allocations: 0.9806 MB / 344.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.167, allocations: 1.299 MB / 345.8 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.1673, allocations: 156 kB / 345.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007567/0.168, allocations: 251.8 kB / 346.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006885/0.1687, allocations: 0.6656 MB / 346.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.1705, allocations: 1.3 MB / 348.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.1751, allocations: 4.313 MB / 352.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.1751, allocations: 3.938 kB / 352.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1751, allocations: 0 / 352.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001072/0.1752, allocations: 0 / 352.5 MB, free: 11.45 MB / 302.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.00599/0.1812, allocations: 2.504 MB / 355 MB, free: 8.883 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.1813, allocations: 15.91 kB / 355 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/0.1822, allocations: 313.6 kB / 355.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.1847, allocations: 1.499 MB / 356.8 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.1849, allocations: 164.4 kB / 357 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/0.1852, allocations: 212 kB / 357.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005538/0.1908, allocations: 3.182 MB / 360.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.1908, allocations: 0 / 360.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.191, allocations: 92 kB / 360.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.1912, allocations: 108.4 kB / 360.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004748/0.1959, allocations: 2.738 MB / 363.3 MB, free: 416 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/0.2102, allocations: 8.962 MB / 372.2 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/0.2141, allocations: 3.398 MB / 375.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.2164, allocations: 1.327 MB / 377 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.2167, allocations: 126.4 kB / 377.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.2167, allocations: 59.8 kB / 377.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.837e-06/0.2167, allocations: 0 / 377.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2431/0.4599, allocations: 5.677 MB / 382.8 MB, free: 50.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.46, allocations: 67.09 kB / 382.9 MB, free: 50.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.4623, allocations: 1.489 MB / 384.4 MB, free: 49.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.4624, allocations: 47.23 kB / 384.4 MB, free: 49.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007208/0.4631, allocations: 0.938 MB / 385.4 MB, free: 48.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.4635, allocations: 446.8 kB / 385.8 MB, free: 48.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.4637, allocations: 110.5 kB / 385.9 MB, free: 48.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4638, allocations: 357.6 kB / 386.3 MB, free: 47.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.4648, allocations: 0.6995 MB / 387 MB, free: 47.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.466, allocations: 0.8768 MB / 387.8 MB, free: 47.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.4682, allocations: 1.618 MB / 389.5 MB, free: 46.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4682, allocations: 5.594 kB / 389.5 MB, free: 46.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003785/0.472, allocations: 2.324 MB / 391.8 MB, free: 45.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.4721, allocations: 11.81 kB / 391.8 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.4721, allocations: 1.25 kB / 391.8 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/0.4746, allocations: 0.8339 MB / 392.6 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.4754, allocations: 198.7 kB / 392.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009069/0.4845, allocations: 10.53 MB / 403.4 MB, free: 37.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.4858, allocations: 59.09 kB / 403.4 MB, free: 37.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.4859, allocations: 42.83 kB / 403.5 MB, free: 37.19 MB / 318.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.00153/0.4875, allocations: 0.8112 MB / 404.3 MB, free: 36.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.4878, allocations: 164.8 kB / 404.4 MB, free: 36.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.4911, allocations: 2.288 MB / 406.7 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.4911, allocations: 12 kB / 406.7 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4911, allocations: 4 kB / 406.7 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4911, allocations: 11.69 kB / 406.7 MB, free: 35.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006768/0.4979, allocations: 4.763 MB / 411.5 MB, free: 30.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4979, allocations: 0 / 411.5 MB, free: 30.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.4985, allocations: 163.7 kB / 411.7 MB, free: 30.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002261/0.5008, allocations: 0.8167 MB / 412.5 MB, free: 29.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.5009, allocations: 31.98 kB / 412.5 MB, free: 29.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008412/0.5093, allocations: 10.42 MB / 422.9 MB, free: 18.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5093, allocations: 0 / 422.9 MB, free: 18.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.5134, allocations: 3.253 MB / 426.2 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007335/0.5141, allocations: 403.1 kB / 426.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.5143, allocations: 35.98 kB / 426.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/0.515, allocations: 75.94 kB / 426.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.5153, allocations: 121 kB / 426.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/0.5154, allocations: 32 kB / 426.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.5166, allocations: 1.06 MB / 427.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5166, allocations: 0 / 427.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001706/0.5183, allocations: 0.5143 MB / 428.4 MB, free: 12.66 MB / 318.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.0004569/0.5188, allocations: 206.8 kB / 428.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.5218, allocations: 2.402 MB / 431 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5218, allocations: 4.938 kB / 431 MB, free: 10.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.5236, allocations: 1.64 MB / 432.7 MB, free: 8.324 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.5258, allocations: 491.1 kB / 433.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.5328, allocations: 5.69 MB / 438.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.5342, allocations: 2.035 MB / 440.9 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001035/0.5352, allocations: 313.5 kB / 441.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.5355, allocations: 99.42 kB / 441.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5355, allocations: 0 / 441.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Templates: time 0.05654/0.592, allocations: 30.57 MB / 471.8 MB, free: 1.047 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)