Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001362/0.001362, allocations: 89.59 kB / 16.65 MB, free: 6.586 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.001442/0.001442, allocations: 182 kB / 17.56 MB, free: 6.203 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.842/1.842, allocations: 205.4 MB / 223.7 MB, free: 12.99 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.0004577/0.0004577, allocations: 8 kB / 280.7 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01032/0.1157, allocations: 10 MB / 338.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007381/0.1231, allocations: 3.202 MB / 341.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.1251, allocations: 67.56 kB / 341.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.1267, allocations: 0.598 MB / 342.2 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.1299, allocations: 1.061 MB / 343.2 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.131, allocations: 439.6 kB / 343.7 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007261/0.1383, allocations: 5.986 MB / 349.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005383/0.1437, allocations: 3.341 MB / 353 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006221/0.1499, allocations: 1.767 MB / 354.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005726/0.1557, allocations: 2.345 MB / 357.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.1568, allocations: 276 kB / 357.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.1585, allocations: 375.8 kB / 357.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.1598, allocations: 1.207 MB / 359 MB, free: 4.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003384/0.1632, allocations: 2.318 MB / 361.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007865/0.171, allocations: 7.868 MB / 369.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1711, allocations: 0 / 369.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1711, allocations: 0 / 369.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002593/0.1714, allocations: 0 / 369.1 MB, free: 10.69 MB / 318.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.0117/0.1831, allocations: 4.265 MB / 373.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.1831, allocations: 8.031 kB / 373.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.1863, allocations: 0.546 MB / 374 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005977/0.1923, allocations: 2.6 MB / 376.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/0.1927, allocations: 291.8 kB / 376.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/0.1943, allocations: 380 kB / 377.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2072/0.4015, allocations: 5.796 MB / 383 MB, free: 33.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.913e-05/0.4016, allocations: 1.406 kB / 383 MB, free: 33.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004471/0.4021, allocations: 162.8 kB / 383.2 MB, free: 33.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002552/0.4023, allocations: 205.9 kB / 383.4 MB, free: 33.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.4139, allocations: 5.036 MB / 388.4 MB, free: 33.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0299/0.4438, allocations: 16.51 MB / 404.9 MB, free: 24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005232/0.4491, allocations: 6.817 MB / 411.7 MB, free: 17.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/0.4522, allocations: 2.65 MB / 414.4 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.4525, allocations: 136.6 kB / 414.5 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/0.4525, allocations: 62.72 kB / 414.6 MB, free: 14.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 6.712e-06/0.4525, allocations: 3.984 kB / 414.6 MB, free: 14.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01729/0.4698, allocations: 10.76 MB / 425.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.4699, allocations: 82.17 kB / 425.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/0.4735, allocations: 2.632 MB / 428.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003172/0.4738, allocations: 73.7 kB / 428.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.4749, allocations: 1.635 MB / 429.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008133/0.4758, allocations: 0.8343 MB / 430.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.4761, allocations: 206.5 kB / 430.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4762, allocations: 306.6 kB / 431.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.4782, allocations: 1.344 MB / 432.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.4805, allocations: 1.658 MB / 434.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/0.4849, allocations: 3.096 MB / 437.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.4849, allocations: 4 kB / 437.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007772/0.4927, allocations: 4.466 MB / 441.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.4927, allocations: 11.38 kB / 441.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.4928, allocations: 4 kB / 441.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005567/0.4983, allocations: 1.651 MB / 443.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.5, allocations: 394.1 kB / 443.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02403/0.5241, allocations: 23.5 MB / 467.2 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.5266, allocations: 95.92 kB / 467.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.5269, allocations: 80 kB / 467.4 MB, free: 8.316 MB / 366.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.002853/0.5298, allocations: 1.404 MB / 468.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007716/0.5305, allocations: 296.6 kB / 469.1 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007966/0.5385, allocations: 4.395 MB / 473.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/0.5386, allocations: 24 kB / 473.5 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.5386, allocations: 10.41 kB / 473.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.5386, allocations: 15.89 kB / 473.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.5558, allocations: 8.908 MB / 482.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.5559, allocations: 4 kB / 482.5 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.5571, allocations: 293.8 kB / 482.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005325/0.5624, allocations: 1.626 MB / 484.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002329/0.5627, allocations: 59.98 kB / 484.4 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02423/0.5869, allocations: 23.28 MB / 0.4958 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.587, allocations: 0 / 0.4958 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/0.5974, allocations: 6.109 MB / 0.5018 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/0.5995, allocations: 0.6771 MB / 0.5024 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006563/0.6001, allocations: 59.98 kB / 0.5025 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.6016, allocations: 123.9 kB / 0.5026 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006689/0.6023, allocations: 214.3 kB / 0.5028 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.6025, allocations: 67.98 kB / 0.5029 GB, free: 7.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003169/0.6057, allocations: 1.856 MB / 0.5047 GB, free: 5.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6057, allocations: 0 / 0.5047 GB, free: 5.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005355/0.611, allocations: 0.9515 MB / 0.5056 GB, free: 4.543 MB / 414.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.001063/0.6121, allocations: 247.1 kB / 0.5059 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009001/0.6211, allocations: 4.859 MB / 0.5106 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.6212, allocations: 0 / 0.5106 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005452/0.6267, allocations: 3.364 MB / 0.5139 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006428/0.6331, allocations: 0.9024 MB / 0.5148 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/0.6504, allocations: 10.38 MB / 0.5249 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2306/0.8811, allocations: 3.172 MB / 0.528 GB, free: 138.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002452/0.8836, allocations: 0.5724 MB / 0.5286 GB, free: 138.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/0.8842, allocations: 165 kB / 0.5287 GB, free: 138.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.954e-06/0.8843, allocations: 0 / 0.5287 GB, free: 138.2 MB / 430.1 MB Notification: Performance of Templates: time 0.09649/0.9808, allocations: 58.31 MB / 0.5857 GB, free: 97.27 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)