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.001463/0.001463, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001453/0.001453, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.91/1.91, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001763/0.001763, allocations: 44.16 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1449, allocations: 46.63 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009364/0.1543, allocations: 6.797 MB / 332.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00609/0.1605, allocations: 2.299 MB / 335.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.1622, allocations: 35.81 kB / 335.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.1638, allocations: 393.8 kB / 335.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.1669, allocations: 0.6102 MB / 336.3 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008964/0.1678, allocations: 251.8 kB / 336.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004432/0.1723, allocations: 2.906 MB / 339.4 MB, free: 7.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.1755, allocations: 2.447 MB / 341.9 MB, free: 4.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.1795, allocations: 1.322 MB / 343.2 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.1832, allocations: 1.576 MB / 344.8 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00093/0.1841, allocations: 348 kB / 345.1 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.1857, allocations: 435.8 kB / 345.5 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.1869, allocations: 0.8922 MB / 346.4 MB, free: 388 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003266/0.1902, allocations: 1.525 MB / 347.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.1958, allocations: 4.572 MB / 352.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1959, allocations: 0 / 352.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1959, allocations: 0 / 352.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001885/0.1961, allocations: 0 / 352.5 MB, free: 10.26 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.007913/0.204, allocations: 2.956 MB / 355.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.2041, allocations: 12.03 kB / 355.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.2051, allocations: 309.6 kB / 355.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.2078, allocations: 1.511 MB / 357.3 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.208, allocations: 160.4 kB / 357.5 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000357/0.2084, allocations: 212 kB / 357.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006423/0.2148, allocations: 3.178 MB / 360.8 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/0.2149, allocations: 3.938 kB / 360.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/0.2151, allocations: 88 kB / 360.9 MB, free: 1.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.2153, allocations: 108.4 kB / 361 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004967/0.2202, allocations: 2.73 MB / 363.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01756/0.2378, allocations: 8.888 MB / 372.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004402/0.2423, allocations: 3.394 MB / 376 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.2445, allocations: 1.327 MB / 377.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003285/0.2449, allocations: 118.4 kB / 377.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.245, allocations: 51.81 kB / 377.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.406e-06/0.245, allocations: 0 / 377.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2215/0.4665, allocations: 5.622 MB / 383.2 MB, free: 50.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.4665, allocations: 70.25 kB / 383.2 MB, free: 50.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.4691, allocations: 1.497 MB / 384.7 MB, free: 49.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.4692, allocations: 51.09 kB / 384.8 MB, free: 49.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006451/0.4699, allocations: 0.9377 MB / 385.7 MB, free: 49.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.4702, allocations: 445.6 kB / 386.2 MB, free: 48.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.4706, allocations: 223.4 kB / 386.4 MB, free: 48.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4707, allocations: 356.5 kB / 386.7 MB, free: 48.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.4718, allocations: 0.6908 MB / 387.4 MB, free: 48.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.473, allocations: 0.866 MB / 388.3 MB, free: 47.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.4752, allocations: 1.614 MB / 389.9 MB, free: 46.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.4753, allocations: 5.375 kB / 389.9 MB, free: 46.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003957/0.4792, allocations: 2.303 MB / 392.2 MB, free: 45.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.4793, allocations: 6.031 kB / 392.2 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.4793, allocations: 11.84 kB / 392.2 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/0.482, allocations: 0.8278 MB / 393 MB, free: 45.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/0.4828, allocations: 202 kB / 393.2 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.4931, allocations: 11.51 MB / 404.8 MB, free: 36.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.4946, allocations: 51.33 kB / 404.8 MB, free: 36.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.952e-05/0.4948, allocations: 43.38 kB / 404.8 MB, free: 36.41 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.00129/0.4961, allocations: 0.8161 MB / 405.7 MB, free: 35.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.4964, allocations: 158.1 kB / 405.8 MB, free: 35.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/0.4995, allocations: 2.273 MB / 408.1 MB, free: 33.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.4995, allocations: 12 kB / 408.1 MB, free: 33.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4995, allocations: 4 kB / 408.1 MB, free: 33.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4996, allocations: 8.531 kB / 408.1 MB, free: 33.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006188/0.5058, allocations: 4.742 MB / 412.9 MB, free: 28.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.5058, allocations: 0.7656 kB / 412.9 MB, free: 28.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.5064, allocations: 159.8 kB / 413 MB, free: 28.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002269/0.5087, allocations: 0.8221 MB / 413.8 MB, free: 27.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-05/0.5088, allocations: 24.88 kB / 413.9 MB, free: 27.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00892/0.5177, allocations: 11.4 MB / 425.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5178, allocations: 0 / 425.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004498/0.5223, allocations: 3.237 MB / 428.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009535/0.5233, allocations: 403.1 kB / 428.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.5235, allocations: 28 kB / 428.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007817/0.5243, allocations: 67.94 kB / 429 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/0.5246, allocations: 117.1 kB / 429.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.5247, allocations: 32 kB / 429.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.526, allocations: 1.072 MB / 430.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.526, allocations: 0 / 430.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002179/0.5282, allocations: 0.5152 MB / 430.7 MB, free: 10 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.0004975/0.5287, allocations: 204.1 kB / 430.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004494/0.5332, allocations: 2.937 MB / 433.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.5333, allocations: 4.188 kB / 433.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.5355, allocations: 1.638 MB / 435.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/0.5384, allocations: 0.5016 MB / 436 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008949/0.5474, allocations: 5.611 MB / 441.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/0.5496, allocations: 2.039 MB / 443.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001343/0.551, allocations: 313.5 kB / 443.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.5513, allocations: 99.42 kB / 444 MB, free: 12.52 MB / 334.1 MB Notification: Performance of SimCode: time 2.134e-06/0.5513, allocations: 0 / 444 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Templates: time 0.05941/0.6107, allocations: 32.34 MB / 476.4 MB, free: 12.16 MB / 366.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)