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.001125/0.001125, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01179/0.01179, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.963/1.963, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005462/0.0005463, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3418, allocations: 47.6 MB / 327 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01201/0.3539, allocations: 9.993 MB / 337 MB, free: 9.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3639, allocations: 3.214 MB / 340.2 MB, free: 6.113 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003939/0.368, allocations: 67.62 kB / 340.3 MB, free: 6.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00271/0.3707, allocations: 0.5981 MB / 340.9 MB, free: 5.445 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005516/0.3762, allocations: 1.057 MB / 342 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.3783, allocations: 447.5 kB / 342.4 MB, free: 3.945 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009684/0.388, allocations: 5.974 MB / 348.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007531/0.3956, allocations: 3.337 MB / 351.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006893/0.4025, allocations: 1.755 MB / 353.5 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005252/0.4078, allocations: 2.334 MB / 355.8 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001999/0.4099, allocations: 284 kB / 356.1 MB, free: 6.152 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.4131, allocations: 371.8 kB / 356.4 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003633/0.4168, allocations: 1.215 MB / 357.7 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008525/0.4254, allocations: 2.314 MB / 360 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01576/0.4412, allocations: 7.868 MB / 367.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4412, allocations: 0 / 367.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.22e-06/0.4413, allocations: 0 / 367.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003998/0.4417, allocations: 0 / 367.8 MB, free: 10.34 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.01519/0.4569, allocations: 4.261 MB / 372.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.888e-05/0.457, allocations: 11.97 kB / 372.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/0.4609, allocations: 0.5421 MB / 372.7 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007155/0.4681, allocations: 2.608 MB / 375.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.4684, allocations: 291.8 kB / 375.6 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.47, allocations: 384 kB / 375.9 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/0.4834, allocations: 5.797 MB / 381.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.998e-05/0.4835, allocations: 4 kB / 381.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004125/0.4839, allocations: 152 kB / 381.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/0.4842, allocations: 204 kB / 382.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009816/0.494, allocations: 5.032 MB / 387.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03191/0.526, allocations: 16.53 MB / 403.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007598/0.5336, allocations: 6.828 MB / 410.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003948/0.5376, allocations: 2.654 MB / 413.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/0.538, allocations: 135.1 kB / 413.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.538, allocations: 60.56 kB / 413.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 4.028e-06/0.5381, allocations: 0 / 413.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02105/0.5591, allocations: 10.76 MB / 424.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.5592, allocations: 81.36 kB / 424.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004695/0.5639, allocations: 2.64 MB / 426.8 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005003/0.5645, allocations: 69.7 kB / 426.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.566, allocations: 1.636 MB / 428.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/0.5674, allocations: 0.8355 MB / 429.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.5678, allocations: 198.5 kB / 429.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.568, allocations: 309.1 kB / 429.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.5704, allocations: 1.348 MB / 431.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.5728, allocations: 1.658 MB / 432.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.5775, allocations: 3.091 MB / 435.9 MB, free: 4.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.5775, allocations: 0 / 435.9 MB, free: 4.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007912/0.5855, allocations: 4.465 MB / 440.4 MB, free: 52 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.5855, allocations: 11.91 kB / 440.4 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.5856, allocations: 8 kB / 440.4 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005656/0.5912, allocations: 1.655 MB / 442.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.593, allocations: 395.5 kB / 442.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2306/0.8236, allocations: 23.5 MB / 465.9 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.8264, allocations: 95.27 kB / 466 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/0.8268, allocations: 80.81 kB / 466.1 MB, free: 102.2 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 (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.003166/0.83, allocations: 1.408 MB / 467.5 MB, free: 101.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.831, allocations: 298.1 kB / 467.8 MB, free: 101.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007312/0.8383, allocations: 4.391 MB / 472.2 MB, free: 99.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.8384, allocations: 30.19 kB / 472.2 MB, free: 99.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.8384, allocations: 7.438 kB / 472.2 MB, free: 99.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.8384, allocations: 18.09 kB / 472.3 MB, free: 99.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.8522, allocations: 8.915 MB / 481.2 MB, free: 94.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.8523, allocations: 3.984 kB / 481.2 MB, free: 94.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.8534, allocations: 290.6 kB / 481.5 MB, free: 93.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004772/0.8582, allocations: 1.622 MB / 483.1 MB, free: 92.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.8584, allocations: 63.91 kB / 483.1 MB, free: 92.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/0.8773, allocations: 23.26 MB / 0.4945 GB, free: 67.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.8774, allocations: 480 / 0.4945 GB, free: 67.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008046/0.8854, allocations: 6.109 MB / 0.5005 GB, free: 61.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/0.8873, allocations: 0.6771 MB / 0.5012 GB, free: 60.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004703/0.8878, allocations: 55.98 kB / 0.5012 GB, free: 60.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.8891, allocations: 136.6 kB / 0.5013 GB, free: 60.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/0.8897, allocations: 225.1 kB / 0.5016 GB, free: 60.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.8898, allocations: 64 kB / 0.5016 GB, free: 60.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002413/0.8923, allocations: 1.85 MB / 0.5034 GB, free: 58.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8923, allocations: 0 / 0.5034 GB, free: 58.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003698/0.896, allocations: 0.956 MB / 0.5044 GB, free: 57.63 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 (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.0006191/0.8966, allocations: 247.3 kB / 0.5046 GB, free: 57.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006287/0.9029, allocations: 4.854 MB / 0.5093 GB, free: 52.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.9029, allocations: 6.844 kB / 0.5093 GB, free: 52.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004826/0.9078, allocations: 3.357 MB / 0.5126 GB, free: 48.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005404/0.9132, allocations: 0.9044 MB / 0.5135 GB, free: 48.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.9286, allocations: 10.37 MB / 0.5236 GB, free: 37.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/0.9312, allocations: 3.173 MB / 0.5267 GB, free: 34.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001963/0.9332, allocations: 0.5635 MB / 0.5273 GB, free: 33.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/0.9336, allocations: 167.4 kB / 0.5274 GB, free: 33.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.9336, allocations: 0 / 0.5274 GB, free: 33.67 MB / 382.1 MB Notification: Performance of Templates: time 0.1031/1.037, allocations: 58.33 MB / 0.5844 GB, free: 7.254 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)