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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01036/0.01037, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001689/0.00169, allocations: 184.9 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.867/1.867, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001308/0.001308, allocations: 45.8 kB / 326.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1258, allocations: 46.63 MB / 373.2 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008617/0.1344, allocations: 6.806 MB / 380 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005793/0.1403, allocations: 2.341 MB / 382.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.1417, allocations: 39.81 kB / 382.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.143, allocations: 452.9 kB / 382.8 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.1454, allocations: 0.6681 MB / 383.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.1461, allocations: 279.7 kB / 383.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003553/0.1496, allocations: 2.918 MB / 386.7 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/0.1525, allocations: 2.443 MB / 389.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.1558, allocations: 1.32 MB / 390.4 MB, free: 40 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.1585, allocations: 1.537 MB / 392 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004882/0.159, allocations: 348 kB / 392.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009361/0.1599, allocations: 431.8 kB / 392.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008196/0.1608, allocations: 0.8883 MB / 393.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.1625, allocations: 1.525 MB / 395.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004634/0.1671, allocations: 4.615 MB / 399.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.1672, allocations: 0 / 399.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1672, allocations: 4 kB / 399.8 MB, free: 6.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.966e-05/0.1673, allocations: 0 / 399.8 MB, free: 6.68 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.006704/0.174, allocations: 2.956 MB / 402.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.1741, allocations: 8.031 kB / 402.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008753/0.1749, allocations: 309.6 kB / 403 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.1778, allocations: 1.515 MB / 404.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.1779, allocations: 160.4 kB / 404.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.1783, allocations: 223.8 kB / 404.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005636/0.1839, allocations: 3.174 MB / 408.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/0.184, allocations: 0 / 408.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.1842, allocations: 91.98 kB / 408.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.1843, allocations: 108.4 kB / 408.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/0.189, allocations: 2.73 MB / 411 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.2048, allocations: 8.779 MB / 419.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.2085, allocations: 3.374 MB / 423.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.2105, allocations: 1.312 MB / 424.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.2108, allocations: 134.3 kB / 424.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.2109, allocations: 43.88 kB / 424.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 5.39e-06/0.2109, allocations: 0 / 424.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01171/0.2226, allocations: 5.644 MB / 430.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.2227, allocations: 64.72 kB / 430.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.225, allocations: 1.494 MB / 431.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.2251, allocations: 49.7 kB / 431.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/0.2258, allocations: 0.937 MB / 432.8 MB, free: 4.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.2262, allocations: 453.5 kB / 433.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/0.2265, allocations: 210.9 kB / 433.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2267, allocations: 361.9 kB / 433.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/0.2277, allocations: 0.6896 MB / 434.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.2288, allocations: 0.8677 MB / 435.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.2309, allocations: 1.613 MB / 437 MB, free: 388 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.2309, allocations: 3.938 kB / 437 MB, free: 384 kB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003829/0.2348, allocations: 2.314 MB / 439.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.2348, allocations: 8 kB / 439.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2348, allocations: 4 kB / 439.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.2373, allocations: 0.7604 MB / 440.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.2382, allocations: 207.7 kB / 440.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.2503, allocations: 11.5 MB / 451.8 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.2517, allocations: 55.86 kB / 451.9 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.2518, allocations: 47.94 kB / 451.9 MB, free: 0.8867 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.001545/0.2534, allocations: 0.8214 MB / 452.7 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3099/0.5632, allocations: 157.7 kB / 452.9 MB, free: 70.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/0.569, allocations: 2.267 MB / 455.1 MB, free: 69.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.569, allocations: 11.75 kB / 455.2 MB, free: 69.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.5691, allocations: 4.688 kB / 455.2 MB, free: 69.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/0.5691, allocations: 7.578 kB / 455.2 MB, free: 69.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009835/0.5789, allocations: 4.711 MB / 459.9 MB, free: 68.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.579, allocations: 2.719 kB / 459.9 MB, free: 68.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006954/0.5797, allocations: 158.8 kB / 460 MB, free: 68.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/0.5819, allocations: 0.7487 MB / 460.8 MB, free: 68.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/0.582, allocations: 37.48 kB / 460.8 MB, free: 68.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.5924, allocations: 11.38 MB / 472.2 MB, free: 59.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5925, allocations: 5.281 kB / 472.2 MB, free: 59.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004563/0.5971, allocations: 3.233 MB / 475.4 MB, free: 58.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/0.5979, allocations: 402.3 kB / 475.8 MB, free: 58.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.5981, allocations: 27.91 kB / 475.9 MB, free: 58.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.5988, allocations: 72.94 kB / 475.9 MB, free: 58.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.599, allocations: 122.9 kB / 476.1 MB, free: 58.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.5991, allocations: 38.89 kB / 476.1 MB, free: 58.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.6004, allocations: 1.059 MB / 477.2 MB, free: 57.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6005, allocations: 0 / 477.2 MB, free: 57.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001703/0.6022, allocations: 0.5184 MB / 477.7 MB, free: 57.4 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.0004909/0.6027, allocations: 193.6 kB / 477.9 MB, free: 57.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.6055, allocations: 2.409 MB / 480.3 MB, free: 55.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6056, allocations: 3.828 kB / 480.3 MB, free: 55.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.6074, allocations: 1.64 MB / 481.9 MB, free: 54.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.6091, allocations: 0.5043 MB / 482.4 MB, free: 53.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007422/0.6165, allocations: 4.598 MB / 487 MB, free: 49.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.618, allocations: 2.044 MB / 489.1 MB, free: 47.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008931/0.6189, allocations: 313.5 kB / 489.4 MB, free: 46.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.6191, allocations: 95.42 kB / 489.5 MB, free: 46.79 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6191, allocations: 0 / 489.5 MB, free: 46.79 MB / 382.1 MB Notification: Performance of Templates: time 0.04796/0.6671, allocations: 33.05 MB / 0.5103 GB, free: 13.69 MB / 382.1 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)