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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.005994/0.005994, allocations: 164.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.24/1.24, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00165/0.00165, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003168, allocations: 11.98 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2031, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.304, allocations: 82.34 MB / 395.2 MB, free: 8.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.3044, allocations: 87.95 kB / 395.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4523/0.7567, allocations: 117.4 MB / 0.5007 GB, free: 9.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.7567, allocations: 0 / 0.5007 GB, free: 9.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005351/0.7573, allocations: 119.8 kB / 0.5008 GB, free: 9.664 MB / 314.7 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.0164/0.7737, allocations: 4.25 MB / 0.5049 GB, free: 5.344 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.7738, allocations: 8.031 kB / 0.5049 GB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.7776, allocations: 0.5529 MB / 0.5055 GB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009303/0.7869, allocations: 2.741 MB / 0.5082 GB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/0.7873, allocations: 287.8 kB / 0.5084 GB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/0.7891, allocations: 392 kB / 0.5088 GB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0165/0.8056, allocations: 5.659 MB / 0.5143 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-05/0.8058, allocations: 7.938 kB / 0.5143 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004303/0.8062, allocations: 164 kB / 0.5145 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/0.8064, allocations: 208 kB / 0.5147 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00863/0.8151, allocations: 4.661 MB / 0.5192 GB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03074/0.8459, allocations: 16.45 MB / 0.5353 GB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2092/1.055, allocations: 6.771 MB / 0.5419 GB, free: 45.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/1.056, allocations: 149.6 kB / 0.5421 GB, free: 45.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.218e-05/1.056, allocations: 65.09 kB / 0.5421 GB, free: 45.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.711e-06/1.056, allocations: 0 / 0.5421 GB, free: 45.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.0187/1.075, allocations: 10.36 MB / 0.5522 GB, free: 44.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/1.075, allocations: 82.98 kB / 0.5523 GB, free: 44.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/1.079, allocations: 2.359 MB / 0.5546 GB, free: 44.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006712/1.08, allocations: 70.61 kB / 0.5547 GB, free: 44.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.081, allocations: 1.633 MB / 0.5563 GB, free: 43.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009307/1.082, allocations: 0.8422 MB / 0.5571 GB, free: 43.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/1.082, allocations: 45.75 kB / 0.5572 GB, free: 43.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/1.082, allocations: 402.6 kB / 0.5575 GB, free: 42.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/1.084, allocations: 1.341 MB / 0.5588 GB, free: 42.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/1.086, allocations: 1.629 MB / 0.5604 GB, free: 42.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/1.088, allocations: 1.57 MB / 0.562 GB, free: 42.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/1.088, allocations: 0 / 0.562 GB, free: 42.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006978/1.095, allocations: 4.443 MB / 0.5663 GB, free: 42.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/1.095, allocations: 7.562 kB / 0.5663 GB, free: 42.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/1.095, allocations: 9.453 kB / 0.5663 GB, free: 42.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003467/1.099, allocations: 1.418 MB / 0.5677 GB, free: 42.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/1.1, allocations: 390 kB / 0.5681 GB, free: 42.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02267/1.123, allocations: 23.88 MB / 0.5914 GB, free: 28.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/1.126, allocations: 95.05 kB / 0.5915 GB, free: 28.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/1.126, allocations: 84.69 kB / 0.5916 GB, free: 28.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (196): * Single equations (assignments): 186 * 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.002749/1.129, allocations: 1.411 MB / 0.593 GB, free: 27.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000773/1.13, allocations: 300.6 kB / 0.5932 GB, free: 27.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006177/1.136, allocations: 4.203 MB / 0.5974 GB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/1.136, allocations: 26.06 kB / 0.5974 GB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/1.136, allocations: 7.625 kB / 0.5974 GB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/1.136, allocations: 14.72 kB / 0.5974 GB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.151, allocations: 8.925 MB / 0.6061 GB, free: 22.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.151, allocations: 3.562 kB / 0.6061 GB, free: 22.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/1.152, allocations: 293 kB / 0.6064 GB, free: 22.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/1.156, allocations: 1.389 MB / 0.6078 GB, free: 21.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/1.156, allocations: 60.02 kB / 0.6078 GB, free: 21.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02392/1.18, allocations: 23.64 MB / 0.6309 GB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.18, allocations: 3.312 kB / 0.6309 GB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/1.193, allocations: 6.163 MB / 0.6369 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003273/1.197, allocations: 0.6961 MB / 0.6376 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/1.198, allocations: 61.88 kB / 0.6377 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002569/1.2, allocations: 126.5 kB / 0.6378 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008297/1.201, allocations: 223 kB / 0.638 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/1.202, allocations: 64.5 kB / 0.6381 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004436/1.206, allocations: 1.85 MB / 0.6399 GB, free: 0 / 346.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.206, allocations: 0 / 0.6399 GB, free: 0 / 346.7 MB Notification: Performance of remove unused functions: time 0.007411/1.213, allocations: 0.9953 MB / 0.6408 GB, free: 0 / 346.7 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.001044/1.215, allocations: 255.8 kB / 0.6411 GB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01128/1.226, allocations: 4.876 MB / 0.6458 GB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.226, allocations: 0.5 kB / 0.6458 GB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006691/1.233, allocations: 3.387 MB / 0.6491 GB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007395/1.24, allocations: 0.8847 MB / 0.65 GB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02974/1.27, allocations: 9.965 MB / 0.6597 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006149/1.276, allocations: 3.253 MB / 0.6629 GB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003354/1.279, allocations: 0.5714 MB / 0.6635 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008536/1.28, allocations: 163.3 kB / 0.6636 GB, free: 11.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.234e-06/1.28, allocations: 0 / 0.6636 GB, free: 11.88 MB / 378.7 MB Notification: Performance of Templates: time 0.4072/1.688, allocations: 58.31 MB / 0.7206 GB, free: 65.29 MB / 378.7 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)