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.001969/0.001969, allocations: 97.03 kB / 16.3 MB, free: 6.457 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.002331/0.002331, allocations: 173 kB / 17.19 MB, free: 6.348 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.68/1.68, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004852/0.0004853, allocations: 15.44 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009331/0.1244, allocations: 8.586 MB / 336.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005928/0.1303, allocations: 3.251 MB / 339.5 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.1323, allocations: 71.56 kB / 339.6 MB, free: 8.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.1343, allocations: 0.5673 MB / 340.2 MB, free: 7.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.1378, allocations: 0.9424 MB / 341.1 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.139, allocations: 303.7 kB / 341.4 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005798/0.1448, allocations: 3.322 MB / 344.7 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005352/0.1502, allocations: 2.878 MB / 347.6 MB, free: 84 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/0.1534, allocations: 1.608 MB / 349.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/0.1573, allocations: 1.945 MB / 351.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00125/0.1586, allocations: 280 kB / 351.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.1608, allocations: 339.9 kB / 351.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.1632, allocations: 1.145 MB / 352.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002064/0.1653, allocations: 0.9408 MB / 353.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009396/0.1747, allocations: 6.806 MB / 360.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1747, allocations: 0 / 360.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1748, allocations: 0 / 360.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002884/0.1751, allocations: 3.938 kB / 360.7 MB, free: 2.984 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.01076/0.1858, allocations: 4.292 MB / 365 MB, free: 14.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1859, allocations: 8.031 kB / 365 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.1876, allocations: 0.545 MB / 365.5 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/0.1922, allocations: 2.518 MB / 368 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.1924, allocations: 291.8 kB / 368.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006312/0.193, allocations: 392 kB / 368.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009484/0.2025, allocations: 5.731 MB / 374.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-05/0.2026, allocations: 3.938 kB / 374.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003529/0.203, allocations: 164 kB / 374.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002398/0.2032, allocations: 208 kB / 374.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2135/0.4167, allocations: 4.992 MB / 379.8 MB, free: 46.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03684/0.4536, allocations: 16.52 MB / 396.3 MB, free: 37.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006772/0.4604, allocations: 6.807 MB / 403.1 MB, free: 32.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.4608, allocations: 130.4 kB / 403.2 MB, free: 31.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.4609, allocations: 68.44 kB / 403.3 MB, free: 31.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 4.328e-06/0.4609, allocations: 0 / 403.3 MB, free: 31.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01904/0.4799, allocations: 10.79 MB / 414.1 MB, free: 24.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.48, allocations: 77.42 kB / 414.2 MB, free: 23.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/0.4836, allocations: 2.624 MB / 416.8 MB, free: 21.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003036/0.484, allocations: 69.7 kB / 416.9 MB, free: 21.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007813/0.4848, allocations: 1.635 MB / 418.5 MB, free: 19.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/0.4853, allocations: 0.8369 MB / 419.3 MB, free: 18.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.4855, allocations: 48 kB / 419.4 MB, free: 18.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4856, allocations: 398.7 kB / 419.8 MB, free: 18.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.4873, allocations: 1.355 MB / 421.1 MB, free: 16.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.4889, allocations: 1.66 MB / 422.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.4907, allocations: 1.585 MB / 424.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.4907, allocations: 4 kB / 424.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006171/0.4969, allocations: 4.48 MB / 428.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.497, allocations: 8 kB / 428.9 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.497, allocations: 15.89 kB / 428.9 MB, free: 9.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004803/0.5018, allocations: 1.647 MB / 430.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.5035, allocations: 387.5 kB / 430.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.024/0.5275, allocations: 23.89 MB / 454.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.5301, allocations: 105.2 kB / 454.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.5304, allocations: 76 kB / 455 MB, free: 13.59 MB / 350.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.003166/0.5336, allocations: 1.403 MB / 456.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/0.5348, allocations: 304.5 kB / 456.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/0.5426, allocations: 4.403 MB / 461.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.5427, allocations: 31.98 kB / 461.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/0.5427, allocations: 8 kB / 461.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/0.5428, allocations: 11.95 kB / 461.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/0.5607, allocations: 8.936 MB / 470.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.5608, allocations: 0 / 470.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.5621, allocations: 291.6 kB / 470.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005286/0.5674, allocations: 1.619 MB / 472 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/0.5678, allocations: 59.94 kB / 472 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02386/0.5917, allocations: 23.64 MB / 495.7 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.5917, allocations: 4.031 kB / 495.7 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009743/0.6015, allocations: 6.193 MB / 0.4901 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00218/0.6037, allocations: 0.6772 MB / 0.4908 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005286/0.6042, allocations: 55.98 kB / 0.4908 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.6057, allocations: 139.8 kB / 0.4909 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006558/0.6064, allocations: 217.6 kB / 0.4912 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.6065, allocations: 67.81 kB / 0.4912 GB, free: 11.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002979/0.6095, allocations: 1.833 MB / 0.493 GB, free: 10.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6095, allocations: 0 / 0.493 GB, free: 10.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004868/0.6144, allocations: 0.9546 MB / 0.4939 GB, free: 9.102 MB / 398.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.0007307/0.6152, allocations: 216.8 kB / 0.4941 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008642/0.6238, allocations: 4.883 MB / 0.4989 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.6239, allocations: 0 / 0.4989 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005655/0.6295, allocations: 3.389 MB / 0.5022 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004832/0.6344, allocations: 0.8822 MB / 0.5031 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.652, allocations: 9.926 MB / 0.5128 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004368/0.6564, allocations: 3.247 MB / 0.516 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002223/0.6586, allocations: 0.5713 MB / 0.5165 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/0.6593, allocations: 167.4 kB / 0.5167 GB, free: 1.477 MB / 414.1 MB Notification: Performance of SimCode: time 4.068e-06/0.6593, allocations: 0 / 0.5167 GB, free: 1.477 MB / 414.1 MB Notification: Performance of Templates: time 0.2684/0.9278, allocations: 56.87 MB / 0.5722 GB, free: 117.5 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: