Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001212/0.001212, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001468/0.001468, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004703/0.0004703, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3309, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009931/0.3409, allocations: 9.378 MB / 335.9 MB, free: 10.03 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008482/0.3495, allocations: 3.14 MB / 339 MB, free: 6.949 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.3522, allocations: 71.62 kB / 339.1 MB, free: 6.879 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.3546, allocations: 0.5317 MB / 339.6 MB, free: 6.344 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.3592, allocations: 1.014 MB / 340.6 MB, free: 5.324 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3606, allocations: 299.7 kB / 340.9 MB, free: 5.031 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007734/0.3684, allocations: 5.448 MB / 346.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00601/0.3744, allocations: 2.874 MB / 349.2 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.3786, allocations: 1.728 MB / 351 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00503/0.3836, allocations: 2.245 MB / 353.2 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.3852, allocations: 280 kB / 353.5 MB, free: 8.375 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.3877, allocations: 331.9 kB / 353.8 MB, free: 8.051 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002674/0.3904, allocations: 1.211 MB / 355 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002908/0.3934, allocations: 0.9369 MB / 356 MB, free: 5.891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.4041, allocations: 6.821 MB / 362.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.4042, allocations: 0 / 362.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.4042, allocations: 3.938 kB / 362.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003795/0.4046, allocations: 0 / 362.8 MB, free: 15.05 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01452/0.4191, allocations: 4.308 MB / 367.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.4192, allocations: 12.03 kB / 367.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.4227, allocations: 0.545 MB / 367.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007153/0.4299, allocations: 2.522 MB / 370.2 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.4303, allocations: 287.8 kB / 370.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/0.4321, allocations: 388 kB / 370.8 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.4444, allocations: 5.762 MB / 376.6 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/0.4445, allocations: 7.938 kB / 376.6 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003704/0.4449, allocations: 160 kB / 376.8 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/0.4451, allocations: 208 kB / 377 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009493/0.4546, allocations: 4.993 MB / 381.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/0.4839, allocations: 16.51 MB / 398.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007039/0.491, allocations: 6.805 MB / 405.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00387/0.4949, allocations: 2.681 MB / 407.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/0.4953, allocations: 143 kB / 408.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.388e-05/0.4954, allocations: 68.5 kB / 408.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=249): time 4.789e-06/0.4954, allocations: 0 / 408.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of matching and sorting (n=256): time 0.02165/0.517, allocations: 10.7 MB / 418.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.5172, allocations: 77.42 kB / 418.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/0.5216, allocations: 2.62 MB / 421.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003249/0.5219, allocations: 69.7 kB / 421.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.5233, allocations: 1.636 MB / 423.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008449/0.5242, allocations: 0.8394 MB / 424.1 MB, free: 304 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.5243, allocations: 44 kB / 424.1 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.5245, allocations: 406.7 kB / 424.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.5266, allocations: 1.336 MB / 425.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/0.5289, allocations: 1.647 MB / 427.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.5312, allocations: 1.577 MB / 429.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.5313, allocations: 8 kB / 429.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007604/0.5389, allocations: 4.441 MB / 433.5 MB, free: 6.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.5389, allocations: 8 kB / 433.5 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.539, allocations: 4 kB / 433.5 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005269/0.5442, allocations: 1.655 MB / 435.2 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.5459, allocations: 391.4 kB / 435.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2286/0.7745, allocations: 23.47 MB / 459 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.7766, allocations: 103.9 kB / 459.2 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.7768, allocations: 74.03 kB / 459.2 MB, free: 104.5 MB / 382.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 (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 initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002492/0.7793, allocations: 1.4 MB / 460.6 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007535/0.7801, allocations: 302.7 kB / 460.9 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00696/0.787, allocations: 4.369 MB / 465.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.7871, allocations: 25.69 kB / 465.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.7871, allocations: 8.875 kB / 465.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.7871, allocations: 18.86 kB / 465.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.7994, allocations: 8.885 MB / 474.2 MB, free: 98.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.7994, allocations: 3.844 kB / 474.2 MB, free: 98.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.8004, allocations: 291.8 kB / 474.5 MB, free: 98.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004121/0.8046, allocations: 1.609 MB / 476.1 MB, free: 97.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.8047, allocations: 70.45 kB / 476.2 MB, free: 97.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/0.8217, allocations: 23.23 MB / 499.4 MB, free: 72.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8217, allocations: 0 / 499.4 MB, free: 72.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007499/0.8292, allocations: 6.082 MB / 0.4937 GB, free: 66.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.8307, allocations: 0.681 MB / 0.4943 GB, free: 66.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.8311, allocations: 56 kB / 0.4944 GB, free: 65.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.8322, allocations: 131.9 kB / 0.4945 GB, free: 65.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/0.8327, allocations: 213.6 kB / 0.4947 GB, free: 65.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.8328, allocations: 63.98 kB / 0.4948 GB, free: 65.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002325/0.8352, allocations: 1.836 MB / 0.4966 GB, free: 63.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8352, allocations: 0 / 0.4966 GB, free: 63.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003195/0.8384, allocations: 0.9514 MB / 0.4975 GB, free: 62.77 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000448/0.8388, allocations: 219.4 kB / 0.4977 GB, free: 62.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00558/0.8444, allocations: 4.849 MB / 0.5024 GB, free: 57.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.8445, allocations: 1.562 kB / 0.5024 GB, free: 57.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003771/0.8482, allocations: 3.348 MB / 0.5057 GB, free: 54.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/0.8524, allocations: 0.9176 MB / 0.5066 GB, free: 53.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.8645, allocations: 9.946 MB / 0.5163 GB, free: 43.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/0.867, allocations: 3.165 MB / 0.5194 GB, free: 40 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001779/0.8687, allocations: 0.5713 MB / 0.52 GB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.8692, allocations: 167.4 kB / 0.5201 GB, free: 39.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8692, allocations: 0 / 0.5201 GB, free: 39.26 MB / 382.1 MB Notification: Performance of Templates: time 0.08377/0.953, allocations: 56.81 MB / 0.5756 GB, free: 14.37 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)