Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.0102/0.0102, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001613/0.001613, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.1 MB / 222.5 MB, free: 4.523 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.001574/0.001575, allocations: 53.8 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1335, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.007674/0.1413, allocations: 3.605 MB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003408/0.1448, allocations: 1.064 MB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004306/0.1453, allocations: 11.94 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.1458, allocations: 107.1 kB / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.1469, allocations: 234.7 kB / 378.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.1473, allocations: 147.7 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.1486, allocations: 0.9611 MB / 379.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009984/0.1496, allocations: 0.5569 MB / 379.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007504/0.1504, allocations: 410.6 kB / 380.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009159/0.1513, allocations: 494.1 kB / 380.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.1515, allocations: 96 kB / 380.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.1518, allocations: 100 kB / 380.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003891/0.1522, allocations: 275.2 kB / 381.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007141/0.153, allocations: 477.8 kB / 381.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.1546, allocations: 1.266 MB / 382.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.1546, allocations: 0 / 382.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1546, allocations: 0 / 382.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.1546, allocations: 0 / 382.9 MB, free: 7.496 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002567/0.1572, allocations: 1.162 MB / 384.1 MB, free: 6.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1573, allocations: 8.031 kB / 384.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.1575, allocations: 91.81 kB / 384.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.1586, allocations: 0.6041 MB / 384.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.1587, allocations: 53.25 kB / 384.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.1588, allocations: 67.94 kB / 384.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.1605, allocations: 0.9033 MB / 385.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.1606, allocations: 0 / 385.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.1607, allocations: 31.98 kB / 385.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.1607, allocations: 29.25 kB / 385.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.162, allocations: 0.7858 MB / 386.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.1668, allocations: 2.764 MB / 389.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.1681, allocations: 0.7334 MB / 390.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/0.1687, allocations: 349.1 kB / 390.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.1688, allocations: 4.328 kB / 390.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008606/0.1697, allocations: 378 kB / 390.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.1697, allocations: 0 / 390.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002979/0.1727, allocations: 1.185 MB / 392.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.1728, allocations: 114.8 kB / 392.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.1738, allocations: 0.5721 MB / 392.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.1739, allocations: 37.7 kB / 392.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.1743, allocations: 356 kB / 393.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.1744, allocations: 134.1 kB / 393.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.1746, allocations: 90.16 kB / 393.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1748, allocations: 362.8 kB / 393.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.1752, allocations: 221 kB / 393.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.1757, allocations: 361.7 kB / 394.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008646/0.1765, allocations: 0.5652 MB / 394.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.1765, allocations: 11.81 kB / 394.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001426/0.178, allocations: 0.743 MB / 395.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.178, allocations: 9.094 kB / 395.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.178, allocations: 4 kB / 395.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.1786, allocations: 209.1 kB / 395.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.1789, allocations: 75.83 kB / 395.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/0.1827, allocations: 2.92 MB / 398.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.1832, allocations: 59.48 kB / 398.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.1832, allocations: 24 kB / 398.9 MB, free: 6.867 MB / 334.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.0005462/0.1838, allocations: 329.5 kB / 399.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1839, allocations: 55.34 kB / 399.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.184, allocations: 69.27 kB / 399.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1841, allocations: 4 kB / 399.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1841, allocations: 0 / 399.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.1841, allocations: 7.875 kB / 399.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.1868, allocations: 1.625 MB / 401 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1869, allocations: 0 / 401 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1871, allocations: 47.97 kB / 401 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.1876, allocations: 204.8 kB / 401.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.1877, allocations: 7.984 kB / 401.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.1911, allocations: 2.916 MB / 404.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1911, allocations: 8 kB / 404.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.1929, allocations: 1.099 MB / 405.2 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.1932, allocations: 188.4 kB / 405.4 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.1933, allocations: 12 kB / 405.4 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.1936, allocations: 27.97 kB / 405.5 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.1938, allocations: 43.94 kB / 405.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.1938, allocations: 23.92 kB / 405.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005578/0.1944, allocations: 410.8 kB / 405.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1944, allocations: 0 / 405.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008132/0.1952, allocations: 203.4 kB / 406.1 MB, free: 15.36 MB / 350.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.0002248/0.1955, allocations: 123.1 kB / 406.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.1969, allocations: 0.7215 MB / 407 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1969, allocations: 0 / 407 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.1976, allocations: 485.8 kB / 407.5 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.1983, allocations: 142.6 kB / 407.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.2013, allocations: 1.5 MB / 409.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/0.2021, allocations: 1.066 MB / 410.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000302/0.2025, allocations: 96.72 kB / 410.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2026, allocations: 43.44 kB / 410.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2026, allocations: 0 / 410.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Templates: time 0.01947/0.2221, allocations: 10.14 MB / 420.4 MB, free: 0.9336 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)