Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 103.2 kB / 16.62 MB, free: 6.812 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.001316/0.001316, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.604/1.604, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001279/0.001279, allocations: 51.92 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 46.62 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.007044/0.1334, allocations: 4.525 MB / 330.7 MB, free: 236 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.1367, allocations: 1.255 MB / 331.9 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004747/0.1372, allocations: 19.88 kB / 331.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.1377, allocations: 135.1 kB / 332.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.1388, allocations: 322.4 kB / 332.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.1394, allocations: 175.8 kB / 332.6 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.1413, allocations: 1.603 MB / 334.2 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.1424, allocations: 0.9299 MB / 335.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.1438, allocations: 0.6735 MB / 335.8 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.145, allocations: 0.864 MB / 336.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.1453, allocations: 176 kB / 336.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.1456, allocations: 179.9 kB / 337 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003941/0.146, allocations: 474.7 kB / 337.4 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008661/0.1468, allocations: 0.7932 MB / 338.2 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.1487, allocations: 2.208 MB / 340.5 MB, free: 6.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1487, allocations: 3.984 kB / 340.5 MB, free: 6.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1487, allocations: 0 / 340.5 MB, free: 6.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.045e-05/0.1488, allocations: 8 kB / 340.5 MB, free: 6.395 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003267/0.1521, allocations: 1.748 MB / 342.2 MB, free: 4.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1521, allocations: 8.031 kB / 342.2 MB, free: 4.582 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.1524, allocations: 151.2 kB / 342.4 MB, free: 4.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.1539, allocations: 0.9189 MB / 343.3 MB, free: 3.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/0.154, allocations: 74.41 kB / 343.4 MB, free: 3.395 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.1542, allocations: 112.1 kB / 343.5 MB, free: 3.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.1569, allocations: 1.541 MB / 345 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.1569, allocations: 7.844 kB / 345 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.157, allocations: 44 kB / 345.1 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.719e-05/0.1571, allocations: 42.02 kB / 345.1 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.1594, allocations: 1.429 MB / 346.5 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007218/0.1667, allocations: 4.921 MB / 351.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.1684, allocations: 1.46 MB / 352.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.1696, allocations: 0.7272 MB / 353.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.1697, allocations: 4.562 kB / 353.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009728/0.1707, allocations: 0.6122 MB / 354.3 MB, free: 8.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.304e-06/0.1707, allocations: 4 kB / 354.3 MB, free: 8.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005657/0.1764, allocations: 2.411 MB / 356.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.1765, allocations: 89.7 kB / 356.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.1778, allocations: 0.9344 MB / 357.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.381e-05/0.1779, allocations: 41.7 kB / 357.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000497/0.1784, allocations: 0.523 MB / 358.3 MB, free: 4.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.1786, allocations: 236.6 kB / 358.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.1789, allocations: 130.7 kB / 358.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.179, allocations: 334 kB / 358.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.1797, allocations: 413.7 kB / 359.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/0.1805, allocations: 0.5484 MB / 359.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.1819, allocations: 0.9543 MB / 360.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.182, allocations: 0 / 360.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002125/0.1841, allocations: 1.284 MB / 362.1 MB, free: 16 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.1841, allocations: 8 kB / 362.1 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1841, allocations: 4 kB / 362.1 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009651/0.1851, allocations: 410.5 kB / 362.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.1856, allocations: 111.8 kB / 362.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.1914, allocations: 4.497 MB / 367.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.1923, allocations: 83.45 kB / 367.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.1924, allocations: 23.98 kB / 367.3 MB, free: 10.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0009297/0.1933, allocations: 499.1 kB / 367.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.1935, allocations: 98.81 kB / 367.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.1938, allocations: 116.5 kB / 368 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1938, allocations: 4 kB / 368 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1938, allocations: 3.984 kB / 368 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1938, allocations: 4 kB / 368 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.198, allocations: 2.589 MB / 370.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1981, allocations: 0 / 370.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.1985, allocations: 91.88 kB / 370.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009179/0.1994, allocations: 396.9 kB / 371 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.1995, allocations: 15.98 kB / 371 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005918/0.2054, allocations: 4.47 MB / 375.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2055, allocations: 0 / 375.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/0.2088, allocations: 1.954 MB / 377.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1825/0.3913, allocations: 282.4 kB / 377.7 MB, free: 53.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/0.3917, allocations: 16.95 kB / 377.8 MB, free: 53.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.3923, allocations: 43.81 kB / 377.8 MB, free: 53.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.3926, allocations: 80.38 kB / 377.9 MB, free: 53.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.3927, allocations: 19.12 kB / 377.9 MB, free: 53.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001074/0.3938, allocations: 0.6707 MB / 378.6 MB, free: 53.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3938, allocations: 2.156 kB / 378.6 MB, free: 53.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002258/0.396, allocations: 344.8 kB / 378.9 MB, free: 53.44 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003655/0.3964, allocations: 129.3 kB / 379 MB, free: 53.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.3995, allocations: 1.448 MB / 380.5 MB, free: 53.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3995, allocations: 0 / 380.5 MB, free: 53.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.4008, allocations: 0.8091 MB / 381.3 MB, free: 53.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.402, allocations: 249.7 kB / 381.5 MB, free: 53.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.407, allocations: 3.098 MB / 384.6 MB, free: 51.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009856/0.408, allocations: 1.383 MB / 386 MB, free: 50.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007118/0.4088, allocations: 169 kB / 386.2 MB, free: 50.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.4089, allocations: 60.48 kB / 386.2 MB, free: 50.68 MB / 318.1 MB Notification: Performance of SimCode: time 9.21e-07/0.409, allocations: 2.844 kB / 386.2 MB, free: 50.68 MB / 318.1 MB Notification: Performance of Templates: time 0.02782/0.4368, allocations: 17.92 MB / 404.2 MB, free: 38.89 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)