Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01034/0.01035, allocations: 102 kB / 15.73 MB, free: 6.039 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.001869/0.001869, allocations: 194 kB / 16.67 MB, free: 5.961 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.849/1.849, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001478/0.001478, allocations: 55.92 kB / 326.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1425, allocations: 46.62 MB / 373.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.2866/0.4292, allocations: 10.64 MB / 383.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00874/0.438, allocations: 3.28 MB / 387.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/0.4416, allocations: 71 kB / 387.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.4446, allocations: 0.7025 MB / 387.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.4501, allocations: 1.139 MB / 389 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.4526, allocations: 0.491 MB / 389.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01019/0.4628, allocations: 5.284 MB / 394.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01184/0.4746, allocations: 4.119 MB / 398.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007612/0.4823, allocations: 2.378 MB / 401.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007651/0.49, allocations: 2.757 MB / 404.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0028/0.4928, allocations: 0.6216 MB / 404.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004245/0.4971, allocations: 0.703 MB / 405.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003115/0.5002, allocations: 1.633 MB / 407 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007682/0.5079, allocations: 2.765 MB / 409.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.5212, allocations: 8.402 MB / 418.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.5213, allocations: 0 / 418.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5213, allocations: 0 / 418.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003091/0.5216, allocations: 0 / 418.2 MB, free: 2.453 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01438/0.536, allocations: 5.08 MB / 423.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5361, allocations: 12.03 kB / 423.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.5377, allocations: 0.5459 MB / 423.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0058/0.5435, allocations: 2.623 MB / 426.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.5438, allocations: 300.9 kB / 426.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006997/0.5445, allocations: 383.9 kB / 427.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.5561, allocations: 5.793 MB / 432.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.73e-05/0.5562, allocations: 3.938 kB / 432.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003847/0.5566, allocations: 168 kB / 433.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.5568, allocations: 204 kB / 433.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.5676, allocations: 5.012 MB / 438.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03716/0.6048, allocations: 16.18 MB / 454.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007711/0.6125, allocations: 6.817 MB / 461.3 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003947/0.6165, allocations: 2.622 MB / 463.9 MB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.6169, allocations: 131.1 kB / 464 MB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/0.617, allocations: 64.56 kB / 464.1 MB, free: 3.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 3.897e-06/0.617, allocations: 3.938 kB / 464.1 MB, free: 3.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.02159/0.6386, allocations: 10.7 MB / 474.8 MB, free: 8.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.6387, allocations: 77.42 kB / 474.9 MB, free: 8.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004399/0.6431, allocations: 2.636 MB / 477.5 MB, free: 5.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003343/0.6434, allocations: 65.7 kB / 477.6 MB, free: 5.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.6448, allocations: 1.644 MB / 479.2 MB, free: 3.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008708/0.6456, allocations: 0.8432 MB / 480.1 MB, free: 3.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006623/0.6463, allocations: 412.6 kB / 480.5 MB, free: 2.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6464, allocations: 309.1 kB / 480.8 MB, free: 2.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.6485, allocations: 1.332 MB / 482.1 MB, free: 1.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.6508, allocations: 1.647 MB / 483.7 MB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004363/0.6552, allocations: 3.087 MB / 486.8 MB, free: 12.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.6552, allocations: 0 / 486.8 MB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007635/0.6628, allocations: 4.445 MB / 491.3 MB, free: 7.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.6629, allocations: 8 kB / 491.3 MB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.6629, allocations: 8 kB / 491.3 MB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004537/0.6675, allocations: 1.538 MB / 492.8 MB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.6692, allocations: 395.4 kB / 493.2 MB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02674/0.6959, allocations: 25.72 MB / 0.5068 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.6985, allocations: 107.8 kB / 0.5069 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.6988, allocations: 80.06 kB / 0.507 GB, free: 10.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002821/0.7016, allocations: 1.407 MB / 0.5083 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000875/0.7025, allocations: 292.6 kB / 0.5086 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007998/0.7105, allocations: 4.387 MB / 0.5129 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.7106, allocations: 27.94 kB / 0.5129 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.7106, allocations: 8 kB / 0.5129 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.7107, allocations: 11.95 kB / 0.5129 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.7274, allocations: 8.765 MB / 0.5215 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.7275, allocations: 0 / 0.5215 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.7287, allocations: 283.6 kB / 0.5218 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00446/0.7331, allocations: 1.514 MB / 0.5232 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/0.7334, allocations: 59.97 kB / 0.5233 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3244/1.058, allocations: 25.49 MB / 0.5482 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.058, allocations: 0.7969 kB / 0.5482 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/1.068, allocations: 6.096 MB / 0.5541 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/1.07, allocations: 0.6712 MB / 0.5548 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/1.07, allocations: 57.22 kB / 0.5549 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.072, allocations: 126.9 kB / 0.555 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007318/1.072, allocations: 215.4 kB / 0.5552 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/1.073, allocations: 66.28 kB / 0.5552 GB, free: 143.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003913/1.076, allocations: 1.852 MB / 0.5571 GB, free: 142.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.232e-06/1.076, allocations: 1.375 kB / 0.5571 GB, free: 142.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005337/1.082, allocations: 0.9516 MB / 0.558 GB, free: 142.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000828/1.083, allocations: 240 kB / 0.5582 GB, free: 142.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007851/1.091, allocations: 4.864 MB / 0.563 GB, free: 140.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.091, allocations: 1.094 kB / 0.563 GB, free: 140.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005114/1.096, allocations: 3.377 MB / 0.5663 GB, free: 138.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/1.101, allocations: 0.9505 MB / 0.5672 GB, free: 137.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.114, allocations: 8.424 MB / 0.5754 GB, free: 134.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/1.116, allocations: 3.174 MB / 0.5785 GB, free: 132.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001818/1.118, allocations: 0.5711 MB / 0.5791 GB, free: 132.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/1.119, allocations: 169.5 kB / 0.5792 GB, free: 132.8 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/1.119, allocations: 0 / 0.5792 GB, free: 132.8 MB / 478.1 MB Notification: Performance of Templates: time 0.07594/1.194, allocations: 61.14 MB / 0.6389 GB, free: 76.07 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)