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.001597/0.001596, allocations: 112.9 kB / 17.06 MB, free: 5.996 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.001556/0.001557, allocations: 198.9 kB / 18 MB, free: 5.078 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.818/1.818, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.001395/0.001395, allocations: 51.92 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1344, allocations: 46.61 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.2971/0.4316, allocations: 6.818 MB / 381.3 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005228/0.4369, allocations: 2.332 MB / 383.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.4382, allocations: 38.97 kB / 383.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.4395, allocations: 456.4 kB / 384.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.4416, allocations: 0.6695 MB / 384.8 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.4423, allocations: 283.9 kB / 385.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003359/0.4457, allocations: 2.908 MB / 388 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00293/0.4487, allocations: 2.444 MB / 390.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.452, allocations: 1.325 MB / 391.7 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.4554, allocations: 1.533 MB / 393.3 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008131/0.4562, allocations: 348.3 kB / 393.6 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.4577, allocations: 433.6 kB / 394 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008225/0.4585, allocations: 0.8911 MB / 394.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002041/0.4606, allocations: 1.524 MB / 396.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006622/0.4672, allocations: 4.617 MB / 401.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4672, allocations: 0 / 401.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4672, allocations: 1.594 kB / 401.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001417/0.4674, allocations: 4 kB / 401.1 MB, free: 0.5234 MB / 318.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.008964/0.4764, allocations: 2.943 MB / 404 MB, free: 14.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.4764, allocations: 9.406 kB / 404 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.4777, allocations: 308.2 kB / 404.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/0.4814, allocations: 1.524 MB / 405.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.4816, allocations: 164.9 kB / 406 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004069/0.482, allocations: 217.6 kB / 406.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006557/0.4885, allocations: 3.178 MB / 409.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.4886, allocations: 0 / 409.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.4888, allocations: 87.31 kB / 409.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.489, allocations: 117.8 kB / 409.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004877/0.4939, allocations: 2.722 MB / 412.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.5097, allocations: 8.783 MB / 421.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.5134, allocations: 3.374 MB / 424.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.5154, allocations: 1.327 MB / 425.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.5157, allocations: 126.4 kB / 425.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.5157, allocations: 51.8 kB / 426 MB, free: 11.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.306e-06/0.5157, allocations: 0 / 426 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01118/0.5269, allocations: 5.64 MB / 431.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.527, allocations: 64.72 kB / 431.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.5295, allocations: 1.494 MB / 433.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.5296, allocations: 49.7 kB / 433.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008132/0.5304, allocations: 0.937 MB / 434.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/0.5308, allocations: 449.5 kB / 434.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004303/0.5312, allocations: 218.9 kB / 434.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5314, allocations: 361.9 kB / 435.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.5325, allocations: 0.6896 MB / 435.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.5338, allocations: 0.8677 MB / 436.7 MB, free: 344 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.5363, allocations: 1.602 MB / 438.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5363, allocations: 0 / 438.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003914/0.5403, allocations: 2.321 MB / 440.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5403, allocations: 4 kB / 440.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5403, allocations: 4 kB / 440.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/0.5426, allocations: 0.7682 MB / 441.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.5434, allocations: 191.8 kB / 441.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.5558, allocations: 11.51 MB / 453.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.5572, allocations: 63.78 kB / 453.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.5573, allocations: 40 kB / 453.2 MB, free: 15.19 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.001534/0.5589, allocations: 0.8214 MB / 454.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.5592, allocations: 158.1 kB / 454.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.5631, allocations: 2.273 MB / 456.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.5632, allocations: 15.94 kB / 456.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.5632, allocations: 4 kB / 456.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.5632, allocations: 7.969 kB / 456.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007978/0.5712, allocations: 4.715 MB / 461.2 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.5712, allocations: 0 / 461.2 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/0.5719, allocations: 156.2 kB / 461.4 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/0.5739, allocations: 0.7489 MB / 462.1 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-05/0.574, allocations: 31.98 kB / 462.2 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/0.5858, allocations: 11.38 MB / 473.5 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5858, allocations: 3.984 kB / 473.5 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/0.591, allocations: 3.243 MB / 476.8 MB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.5923, allocations: 403.1 kB / 477.2 MB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.5926, allocations: 24 kB / 477.2 MB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.5934, allocations: 75.94 kB / 477.3 MB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/0.5937, allocations: 117.1 kB / 477.4 MB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.5938, allocations: 32 kB / 477.4 MB, free: 6.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001643/0.5954, allocations: 1.06 MB / 478.5 MB, free: 5.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5955, allocations: 4 kB / 478.5 MB, free: 5.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002171/0.5976, allocations: 0.5156 MB / 479 MB, free: 4.652 MB / 398.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.0005609/0.5982, allocations: 206 kB / 479.2 MB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003728/0.6019, allocations: 2.408 MB / 481.6 MB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.602, allocations: 0.9375 kB / 481.6 MB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.6044, allocations: 1.644 MB / 483.3 MB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/0.6071, allocations: 0.5013 MB / 483.8 MB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009007/0.6161, allocations: 4.583 MB / 488.3 MB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/0.6182, allocations: 2.039 MB / 490.4 MB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001319/0.6195, allocations: 313.5 kB / 490.7 MB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.6199, allocations: 99.42 kB / 490.8 MB, free: 8.668 MB / 414.1 MB Notification: Performance of SimCode: time 1.824e-06/0.6199, allocations: 0 / 490.8 MB, free: 8.668 MB / 414.1 MB Notification: Performance of Templates: time 0.06484/0.6847, allocations: 33.59 MB / 0.5121 GB, free: 7.016 MB / 446.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)