Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001396/0.001396, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001825/0.001826, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.835/1.835, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.001954/0.001954, allocations: 47.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3326, allocations: 46.62 MB / 324.9 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007919/0.3406, allocations: 6.798 MB / 331.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005106/0.3457, allocations: 2.297 MB / 333.9 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009373/0.3468, allocations: 40.22 kB / 334 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.3479, allocations: 393.7 kB / 334.4 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.3499, allocations: 0.6062 MB / 335 MB, free: 9.887 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.3505, allocations: 252.6 kB / 335.2 MB, free: 9.668 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003638/0.3541, allocations: 2.909 MB / 338.1 MB, free: 6.789 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002882/0.357, allocations: 2.45 MB / 340.6 MB, free: 4.281 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/0.3601, allocations: 1.317 MB / 341.9 MB, free: 2.965 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.3625, allocations: 1.569 MB / 343.5 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004336/0.3629, allocations: 356 kB / 343.8 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008196/0.3637, allocations: 439.8 kB / 344.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007881/0.3645, allocations: 0.8883 MB / 345.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.3663, allocations: 1.525 MB / 346.7 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.3704, allocations: 4.576 MB / 351.2 MB, free: 9.602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3704, allocations: 0 / 351.2 MB, free: 9.602 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3704, allocations: 0 / 351.2 MB, free: 9.602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.621e-05/0.3705, allocations: 0 / 351.2 MB, free: 9.602 MB / 286.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.005671/0.3762, allocations: 2.952 MB / 354.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3762, allocations: 12.03 kB / 354.2 MB, free: 6.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007293/0.3769, allocations: 317.6 kB / 354.5 MB, free: 6.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.3791, allocations: 1.503 MB / 356 MB, free: 4.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.3792, allocations: 164.4 kB / 356.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004628/0.3797, allocations: 216 kB / 356.4 MB, free: 4.324 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007784/0.3875, allocations: 3.171 MB / 359.6 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.65e-05/0.3876, allocations: 7.984 kB / 359.6 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/0.3879, allocations: 84 kB / 359.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.3882, allocations: 116.4 kB / 359.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/0.3949, allocations: 2.723 MB / 362.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.4185, allocations: 8.888 MB / 371.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006004/0.4246, allocations: 3.39 MB / 374.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/0.4275, allocations: 1.319 MB / 376.1 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.4281, allocations: 134.4 kB / 376.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/0.4281, allocations: 47.81 kB / 376.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 5.07e-06/0.4282, allocations: 0 / 376.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01668/0.4448, allocations: 5.632 MB / 381.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002481/0.4451, allocations: 64.72 kB / 382 MB, free: 9.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.4487, allocations: 1.49 MB / 383.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.4488, allocations: 49.7 kB / 383.5 MB, free: 8.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.4501, allocations: 0.9486 MB / 384.4 MB, free: 7.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006488/0.4507, allocations: 449.5 kB / 384.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005227/0.4512, allocations: 218.8 kB / 385.1 MB, free: 6.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.4515, allocations: 361.9 kB / 385.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.4531, allocations: 0.6896 MB / 386.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4547, allocations: 0.8716 MB / 387 MB, free: 4.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/0.458, allocations: 1.613 MB / 388.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.458, allocations: 0 / 388.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005646/0.4637, allocations: 2.314 MB / 390.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.4637, allocations: 4 kB / 390.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.4637, allocations: 4 kB / 390.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003792/0.4675, allocations: 0.8228 MB / 391.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.4688, allocations: 207.6 kB / 392 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/0.4876, allocations: 11.51 MB / 403.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.4895, allocations: 51.95 kB / 403.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.4897, allocations: 40 kB / 403.6 MB, free: 3.629 MB / 334.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.002203/0.4919, allocations: 0.8135 MB / 404.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.4923, allocations: 162.1 kB / 404.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/0.4964, allocations: 2.273 MB / 406.8 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.4964, allocations: 12 kB / 406.8 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4964, allocations: 8 kB / 406.8 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.4965, allocations: 11.97 kB / 406.8 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007873/0.5043, allocations: 4.738 MB / 411.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.5044, allocations: 4 kB / 411.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/0.505, allocations: 156.2 kB / 411.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002564/0.5076, allocations: 0.823 MB / 412.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/0.5077, allocations: 32 kB / 412.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/0.5262, allocations: 11.39 MB / 424 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.5263, allocations: 64 / 424 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008498/0.5348, allocations: 3.249 MB / 427.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/0.5365, allocations: 399.1 kB / 427.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006623/0.5372, allocations: 28 kB / 427.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.5388, allocations: 67.94 kB / 427.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000552/0.5394, allocations: 117.1 kB / 427.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.5396, allocations: 40 kB / 427.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002907/0.5425, allocations: 1.056 MB / 428.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5425, allocations: 0 / 428.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003395/0.5459, allocations: 0.5195 MB / 429.4 MB, free: 8.98 MB / 366.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.0007788/0.5467, allocations: 202.3 kB / 429.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007953/0.5547, allocations: 2.935 MB / 432.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5547, allocations: 3.938 kB / 432.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003654/0.5584, allocations: 1.637 MB / 434.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/0.5627, allocations: 0.516 MB / 434.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.5749, allocations: 5.608 MB / 440.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002584/0.5775, allocations: 2.035 MB / 442.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001296/0.5788, allocations: 313.4 kB / 442.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.5792, allocations: 95.44 kB / 442.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5792, allocations: 0 / 442.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of Templates: time 0.2711/0.8504, allocations: 32.32 MB / 475.1 MB, free: 99.43 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)