Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 89.58 kB / 16.65 MB, free: 6.59 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.001057/0.001057, allocations: 182.2 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.853/1.853, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005791/0.0005796, allocations: 16 kB / 280.8 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1573, allocations: 47.59 MB / 328.3 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.008296/0.1657, allocations: 3.253 MB / 331.6 MB, free: 472 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004074/0.1699, allocations: 1.03 MB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007523/0.1707, allocations: 15.88 kB / 332.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.1713, allocations: 79.47 kB / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.1731, allocations: 206.9 kB / 332.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007929/0.1739, allocations: 127.8 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002312/0.1762, allocations: 1.059 MB / 334.1 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.1775, allocations: 481.7 kB / 334.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.1785, allocations: 302.7 kB / 334.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.1801, allocations: 426.1 kB / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.1803, allocations: 44 kB / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.1807, allocations: 40 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.1812, allocations: 219.2 kB / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.1823, allocations: 423.5 kB / 336 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.1845, allocations: 1.18 MB / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1846, allocations: 0 / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1846, allocations: 0 / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.173e-05/0.1847, allocations: 0 / 337.2 MB, free: 10.84 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.004068/0.1887, allocations: 1.018 MB / 338.2 MB, free: 9.777 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.486e-05/0.1888, allocations: 8.031 kB / 338.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005076/0.1894, allocations: 95.81 kB / 338.3 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.1914, allocations: 0.5886 MB / 338.9 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.1915, allocations: 53.25 kB / 338.9 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.1918, allocations: 63.91 kB / 339 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.1949, allocations: 0.9189 MB / 339.9 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.195, allocations: 0 / 339.9 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.1951, allocations: 28 kB / 339.9 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.231e-05/0.1952, allocations: 29.3 kB / 340 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.1979, allocations: 0.7975 MB / 340.8 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007907/0.2058, allocations: 2.819 MB / 343.6 MB, free: 4.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.2073, allocations: 0.7645 MB / 344.4 MB, free: 3.375 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009839/0.2084, allocations: 345.3 kB / 344.7 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.2084, allocations: 4.328 kB / 344.7 MB, free: 3.031 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.2095, allocations: 397.6 kB / 345.1 MB, free: 2.621 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 4.989e-06/0.2096, allocations: 0 / 345.1 MB, free: 2.621 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.005109/0.2147, allocations: 1.208 MB / 346.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.2149, allocations: 114.8 kB / 346.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.2164, allocations: 0.5605 MB / 347 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/0.2165, allocations: 41.73 kB / 347 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/0.217, allocations: 355.9 kB / 347.3 MB, free: 280 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.2173, allocations: 138 kB / 347.5 MB, free: 140 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.2174, allocations: 49.69 kB / 347.5 MB, free: 84 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002566/0.2177, allocations: 362.8 kB / 347.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.2183, allocations: 225 kB / 348.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000747/0.2191, allocations: 365.8 kB / 348.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.2205, allocations: 0.5769 MB / 349 MB, free: 14.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.2205, allocations: 7.938 kB / 349 MB, free: 14.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002184/0.2227, allocations: 0.7551 MB / 349.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.2227, allocations: 11.98 kB / 349.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.2228, allocations: 4 kB / 349.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009497/0.2237, allocations: 204.8 kB / 350 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.2243, allocations: 75.91 kB / 350.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/0.2301, allocations: 2.67 MB / 352.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.2308, allocations: 67.61 kB / 352.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.2309, allocations: 20 kB / 352.8 MB, free: 10.49 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0009615/0.2319, allocations: 325.5 kB / 353.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.2321, allocations: 51.34 kB / 353.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.2324, allocations: 73.27 kB / 353.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.2325, allocations: 7.938 kB / 353.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2325, allocations: 4 kB / 353.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.2325, allocations: 7.984 kB / 353.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.2371, allocations: 1.631 MB / 354.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.2371, allocations: 0 / 354.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.2376, allocations: 47.91 kB / 355 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008821/0.2385, allocations: 204.9 kB / 355.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.2386, allocations: 12 kB / 355.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005548/0.2442, allocations: 2.651 MB / 357.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.2442, allocations: 4 kB / 357.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/0.2475, allocations: 1.123 MB / 359 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006147/0.2481, allocations: 196.3 kB / 359.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.2484, allocations: 8 kB / 359.2 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006592/0.249, allocations: 35.97 kB / 359.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.2493, allocations: 43.92 kB / 359.3 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.2494, allocations: 12 kB / 359.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001173/0.2506, allocations: 422.8 kB / 359.7 MB, free: 3.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2506, allocations: 3.938 kB / 359.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001557/0.2521, allocations: 199.4 kB / 359.9 MB, free: 3.203 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003339/0.2525, allocations: 119.2 kB / 360 MB, free: 3.074 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.2549, allocations: 0.7331 MB / 360.7 MB, free: 2.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.255, allocations: 8.062 kB / 360.7 MB, free: 2.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.2562, allocations: 478 kB / 361.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.2576, allocations: 146.2 kB / 361.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/0.2631, allocations: 1.829 MB / 363.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.2644, allocations: 1.062 MB / 364.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005777/0.265, allocations: 96.72 kB / 364.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.2652, allocations: 35.44 kB / 364.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2652, allocations: 0 / 364.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of Templates: time 0.0344/0.2996, allocations: 9.289 MB / 373.7 MB, free: 5.34 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)