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.001374/0.001374, allocations: 93.97 kB / 16.31 MB, free: 5.578 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.00167/0.001671, allocations: 177.8 kB / 17.2 MB, free: 5.496 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.516/1.516, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0006014/0.0006015, allocations: 10.34 kB / 280.2 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1114, allocations: 47.57 MB / 327.7 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007889/0.1193, allocations: 5.969 MB / 333.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005388/0.1248, allocations: 2.218 MB / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1261, allocations: 35.81 kB / 335.9 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.1278, allocations: 353.8 kB / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.1303, allocations: 0.5828 MB / 336.9 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008745/0.1312, allocations: 175.8 kB / 337 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004225/0.1354, allocations: 3.007 MB / 340.1 MB, free: 7.684 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00315/0.1386, allocations: 1.582 MB / 341.6 MB, free: 6.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.141, allocations: 0.9574 MB / 342.6 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.1436, allocations: 1.249 MB / 343.8 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009073/0.1446, allocations: 156 kB / 344 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.1459, allocations: 207.9 kB / 344.2 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.1472, allocations: 0.6619 MB / 344.9 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.1485, allocations: 0.5316 MB / 345.4 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005419/0.154, allocations: 3.736 MB / 349.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.154, allocations: 4 kB / 349.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.154, allocations: 0 / 349.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001588/0.1542, allocations: 0 / 349.1 MB, free: 14.55 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.007161/0.1613, allocations: 2.531 MB / 351.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.1614, allocations: 8.031 kB / 351.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.163, allocations: 308.7 kB / 352 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.1662, allocations: 1.448 MB / 353.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.1663, allocations: 168.3 kB / 353.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.1667, allocations: 219.9 kB / 353.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005716/0.1724, allocations: 3.159 MB / 357 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.1725, allocations: 3.953 kB / 357 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.1727, allocations: 95.98 kB / 357.1 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.1728, allocations: 112.4 kB / 357.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004895/0.1777, allocations: 2.719 MB / 359.9 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01646/0.1942, allocations: 8.955 MB / 368.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/0.1988, allocations: 3.382 MB / 372.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.2011, allocations: 1.351 MB / 373.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.2014, allocations: 126.4 kB / 373.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.2015, allocations: 51.83 kB / 373.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.498e-06/0.2015, allocations: 0 / 373.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2024/0.404, allocations: 5.644 MB / 379.4 MB, free: 50.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.4041, allocations: 67.22 kB / 379.5 MB, free: 50.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/0.4071, allocations: 1.484 MB / 380.9 MB, free: 50.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.4073, allocations: 48.42 kB / 381 MB, free: 50.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007342/0.4081, allocations: 0.9421 MB / 381.9 MB, free: 49.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.4084, allocations: 443.1 kB / 382.4 MB, free: 49.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.4085, allocations: 24.41 kB / 382.4 MB, free: 49.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4086, allocations: 361 kB / 382.7 MB, free: 49.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.4097, allocations: 0.6947 MB / 383.4 MB, free: 48.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.4109, allocations: 0.8772 MB / 384.3 MB, free: 48.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.4122, allocations: 0.819 MB / 385.1 MB, free: 48.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4122, allocations: 0.7188 kB / 385.1 MB, free: 48.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004206/0.4164, allocations: 2.302 MB / 387.4 MB, free: 47.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4165, allocations: 6.906 kB / 387.4 MB, free: 47.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4165, allocations: 7.828 kB / 387.4 MB, free: 47.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/0.4191, allocations: 0.8188 MB / 388.3 MB, free: 47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/0.4199, allocations: 207.2 kB / 388.5 MB, free: 46.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009299/0.4292, allocations: 10.52 MB / 399 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/0.4301, allocations: 58.8 kB / 399 MB, free: 39.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/0.4302, allocations: 42.66 kB / 399.1 MB, free: 39.18 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 (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 initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.4315, allocations: 0.8087 MB / 399.9 MB, free: 38.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.4317, allocations: 163.2 kB / 400.1 MB, free: 38.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.4349, allocations: 2.271 MB / 402.3 MB, free: 37.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4349, allocations: 15.31 kB / 402.3 MB, free: 37.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4349, allocations: 6.406 kB / 402.3 MB, free: 37.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.435, allocations: 11.62 kB / 402.4 MB, free: 37.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/0.4408, allocations: 4.757 MB / 407.1 MB, free: 34.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4408, allocations: 7.984 kB / 407.1 MB, free: 34.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.4414, allocations: 156 kB / 407.3 MB, free: 34.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.4435, allocations: 0.8125 MB / 408.1 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/0.4436, allocations: 28 kB / 408.1 MB, free: 33.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008484/0.4521, allocations: 10.4 MB / 418.5 MB, free: 22.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4521, allocations: 0 / 418.5 MB, free: 22.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/0.4562, allocations: 3.237 MB / 421.7 MB, free: 19.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009032/0.4571, allocations: 411 kB / 422.1 MB, free: 18.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003874/0.4575, allocations: 28.64 kB / 422.2 MB, free: 18.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008894/0.4584, allocations: 80.25 kB / 422.3 MB, free: 18.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/0.4587, allocations: 121.1 kB / 422.4 MB, free: 18.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.4588, allocations: 36 kB / 422.4 MB, free: 18.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001601/0.4604, allocations: 1.044 MB / 423.5 MB, free: 17.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4604, allocations: 3.719 kB / 423.5 MB, free: 17.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00217/0.4626, allocations: 0.5117 MB / 424 MB, free: 16.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004073/0.463, allocations: 180.5 kB / 424.1 MB, free: 16.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.4663, allocations: 2.395 MB / 426.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4663, allocations: 0 / 426.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.4683, allocations: 1.638 MB / 428.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.4708, allocations: 498 kB / 428.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008119/0.4789, allocations: 5.459 MB / 434.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.4803, allocations: 2.043 MB / 436.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008997/0.4812, allocations: 317.5 kB / 436.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.4814, allocations: 91.38 kB / 436.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4815, allocations: 0 / 436.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of Templates: time 0.05218/0.5336, allocations: 29.77 MB / 466.3 MB, free: 6.203 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)