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.001399/0.001399, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001909/0.00191, allocations: 172.7 kB / 15.95 MB, free: 208 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.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0004463/0.0004464, allocations: 10.81 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2368, allocations: 47.58 MB / 326.5 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009438/0.2463, allocations: 9.386 MB / 335.9 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006823/0.2531, allocations: 3.137 MB / 339 MB, free: 6.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.2553, allocations: 63.62 kB / 339.1 MB, free: 6.867 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.2574, allocations: 0.5317 MB / 339.6 MB, free: 6.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.261, allocations: 1.014 MB / 340.6 MB, free: 5.312 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.2624, allocations: 307.6 kB / 340.9 MB, free: 5.012 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007172/0.2696, allocations: 5.448 MB / 346.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005393/0.275, allocations: 2.878 MB / 349.2 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.2786, allocations: 1.728 MB / 351 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004696/0.2833, allocations: 2.241 MB / 353.2 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.2848, allocations: 280 kB / 353.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.2869, allocations: 335.9 kB / 353.8 MB, free: 8.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002312/0.2892, allocations: 1.211 MB / 355 MB, free: 6.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00273/0.292, allocations: 0.9369 MB / 356 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008105/0.3001, allocations: 6.825 MB / 362.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3001, allocations: 0 / 362.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3001, allocations: 0 / 362.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002443/0.3004, allocations: 0 / 362.8 MB, free: 15.02 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.00969/0.3101, allocations: 4.3 MB / 367.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3101, allocations: 8.031 kB / 367.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.3123, allocations: 0.5489 MB / 367.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00551/0.3178, allocations: 2.519 MB / 370.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.3181, allocations: 295.8 kB / 370.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.3193, allocations: 380 kB / 370.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.3315, allocations: 5.77 MB / 376.6 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.392e-05/0.3317, allocations: 7.984 kB / 376.6 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000688/0.3324, allocations: 164 kB / 376.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002173/0.3326, allocations: 204 kB / 377 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00971/0.3423, allocations: 4.993 MB / 381.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03079/0.3731, allocations: 16.51 MB / 398.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007262/0.3804, allocations: 6.805 MB / 405.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004016/0.3845, allocations: 2.673 MB / 407.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/0.3849, allocations: 143 kB / 408.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/0.385, allocations: 68.56 kB / 408.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=249): time 4.318e-06/0.385, allocations: 0 / 408.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=256): time 0.02039/0.4054, allocations: 10.72 MB / 418.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.4055, allocations: 77.42 kB / 418.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/0.4106, allocations: 2.612 MB / 421.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004016/0.411, allocations: 73.7 kB / 421.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.4124, allocations: 1.64 MB / 423.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.4134, allocations: 0.8433 MB / 424.1 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.4137, allocations: 44 kB / 424.1 MB, free: 228 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.4139, allocations: 402.7 kB / 424.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/0.4163, allocations: 1.336 MB / 425.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.4191, allocations: 1.65 MB / 427.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/0.4217, allocations: 1.569 MB / 429.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.4218, allocations: 0 / 429.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008457/0.4302, allocations: 4.445 MB / 433.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.4303, allocations: 8 kB / 433.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.4303, allocations: 8 kB / 433.5 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005416/0.4357, allocations: 1.655 MB / 435.2 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.4374, allocations: 387.5 kB / 435.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.224/0.6614, allocations: 23.47 MB / 459 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.6634, allocations: 97.89 kB / 459.1 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.6639, allocations: 81.34 kB / 459.2 MB, free: 104.6 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.002784/0.6667, allocations: 1.405 MB / 460.6 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009191/0.6676, allocations: 299.1 kB / 460.9 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007655/0.6753, allocations: 4.372 MB / 465.3 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.6754, allocations: 22.97 kB / 465.3 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.073e-05/0.6754, allocations: 14.75 kB / 465.3 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.6754, allocations: 18.86 kB / 465.3 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.6887, allocations: 8.88 MB / 474.2 MB, free: 98.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.6887, allocations: 3.844 kB / 474.2 MB, free: 98.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.6898, allocations: 287.5 kB / 474.5 MB, free: 98.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004441/0.6943, allocations: 1.624 MB / 476.1 MB, free: 97.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.6945, allocations: 59.98 kB / 476.2 MB, free: 97.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0178/0.7123, allocations: 23.23 MB / 499.4 MB, free: 72.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.7123, allocations: 0 / 499.4 MB, free: 72.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007974/0.7203, allocations: 6.089 MB / 0.4937 GB, free: 66.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.7218, allocations: 0.6732 MB / 0.4943 GB, free: 66.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006432/0.7225, allocations: 59.98 kB / 0.4944 GB, free: 65.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.724, allocations: 131.9 kB / 0.4945 GB, free: 65.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/0.7244, allocations: 205.7 kB / 0.4947 GB, free: 65.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.7246, allocations: 63.98 kB / 0.4948 GB, free: 65.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002625/0.7272, allocations: 1.837 MB / 0.4966 GB, free: 63.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7272, allocations: 0 / 0.4966 GB, free: 63.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003817/0.731, allocations: 0.9475 MB / 0.4975 GB, free: 62.8 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.0005866/0.7316, allocations: 219.2 kB / 0.4977 GB, free: 62.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006016/0.7377, allocations: 4.849 MB / 0.5024 GB, free: 57.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7377, allocations: 0 / 0.5024 GB, free: 57.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.7417, allocations: 3.355 MB / 0.5057 GB, free: 54.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/0.7464, allocations: 0.9237 MB / 0.5066 GB, free: 53.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.7602, allocations: 9.931 MB / 0.5163 GB, free: 43.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003089/0.7633, allocations: 3.165 MB / 0.5194 GB, free: 40.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001971/0.7653, allocations: 0.5713 MB / 0.52 GB, free: 39.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/0.7659, allocations: 167.4 kB / 0.5201 GB, free: 39.29 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.766, allocations: 0 / 0.5201 GB, free: 39.29 MB / 382.1 MB Notification: Performance of Templates: time 0.08046/0.8464, allocations: 56.81 MB / 0.5756 GB, free: 14.4 MB / 414.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)