Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.007566/0.007566, allocations: 107.3 kB / 15.74 MB, free: 6.039 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.00129/0.00129, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.62/1.62, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001933/0.001933, allocations: 46.41 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1225, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006118/0.1287, allocations: 4.496 MB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.1321, allocations: 1.263 MB / 378.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006691/0.1328, allocations: 23.88 kB / 379 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.1334, allocations: 166.6 kB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.1347, allocations: 346.1 kB / 379.5 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.1353, allocations: 203.6 kB / 379.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.1371, allocations: 1.615 MB / 381.3 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.1384, allocations: 0.9258 MB / 382.2 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.1396, allocations: 0.6852 MB / 382.9 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.1408, allocations: 0.8329 MB / 383.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.141, allocations: 180 kB / 383.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.1413, allocations: 172 kB / 384.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.1417, allocations: 490.5 kB / 384.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008393/0.1426, allocations: 0.7739 MB / 385.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.1447, allocations: 2.239 MB / 387.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1447, allocations: 0 / 387.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1448, allocations: 0 / 387.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.079e-05/0.1448, allocations: 0 / 387.6 MB, free: 2.863 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003346/0.1481, allocations: 1.755 MB / 389.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1482, allocations: 8.031 kB / 389.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.1484, allocations: 151.2 kB / 389.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.15, allocations: 0.9384 MB / 390.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.1501, allocations: 82.3 kB / 390.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.1502, allocations: 112.1 kB / 390.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.1527, allocations: 1.537 MB / 392.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.1528, allocations: 0 / 392.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.1529, allocations: 43.98 kB / 392.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/0.1529, allocations: 46.03 kB / 392.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.1555, allocations: 1.425 MB / 393.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007584/0.1631, allocations: 4.867 MB / 398.5 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.165, allocations: 1.453 MB / 400 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.1664, allocations: 0.7466 MB / 400.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.1665, allocations: 8.562 kB / 400.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.1676, allocations: 0.6083 MB / 401.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/0.1676, allocations: 0 / 401.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006063/0.1737, allocations: 2.415 MB / 403.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1738, allocations: 89.75 kB / 403.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.1755, allocations: 0.9383 MB / 404.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.838e-05/0.1756, allocations: 37.7 kB / 404.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/0.1761, allocations: 0.523 MB / 405.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.1763, allocations: 228.8 kB / 405.6 MB, free: 300 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.1766, allocations: 134.6 kB / 405.7 MB, free: 160 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1767, allocations: 338 kB / 406 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000749/0.1775, allocations: 413.7 kB / 406.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/0.1783, allocations: 0.5485 MB / 407 MB, free: 14.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.1798, allocations: 0.9504 MB / 407.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1799, allocations: 4 kB / 407.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00243/0.1823, allocations: 1.288 MB / 409.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.1823, allocations: 8 kB / 409.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.1824, allocations: 4 kB / 409.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.1834, allocations: 402.4 kB / 409.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.1839, allocations: 123.8 kB / 409.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/0.19, allocations: 4.486 MB / 414.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/0.1908, allocations: 87.42 kB / 414.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.1909, allocations: 20 kB / 414.3 MB, free: 7.242 MB / 350.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.0009469/0.1918, allocations: 495.3 kB / 414.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.1921, allocations: 98.81 kB / 414.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.1925, allocations: 120.5 kB / 415 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1925, allocations: 4 kB / 415 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1925, allocations: 4 kB / 415 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1925, allocations: 3.984 kB / 415 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004655/0.1972, allocations: 2.587 MB / 417.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1972, allocations: 3.938 kB / 417.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.1977, allocations: 87.88 kB / 417.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008713/0.1985, allocations: 396.9 kB / 418.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.1986, allocations: 11.98 kB / 418.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005541/0.2042, allocations: 4.474 MB / 422.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2042, allocations: 4 kB / 422.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.2076, allocations: 1.952 MB / 424.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/0.2083, allocations: 275.9 kB / 424.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.2084, allocations: 16 kB / 424.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.2089, allocations: 43.94 kB / 424.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.2091, allocations: 84.47 kB / 425 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.2091, allocations: 16 kB / 425 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009534/0.2101, allocations: 0.6747 MB / 425.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2101, allocations: 0 / 425.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001074/0.2112, allocations: 354.8 kB / 426 MB, free: 11.32 MB / 366.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.0001968/0.2114, allocations: 123 kB / 426.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.2137, allocations: 1.276 MB / 427.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2137, allocations: 0.875 kB / 427.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.2149, allocations: 0.8142 MB / 428.2 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.216, allocations: 251.4 kB / 428.5 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.2207, allocations: 2.604 MB / 431.1 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.2218, allocations: 1.384 MB / 432.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006243/0.2224, allocations: 171.2 kB / 432.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.2226, allocations: 59.44 kB / 432.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.2226, allocations: 0 / 432.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of Templates: time 0.03155/0.2541, allocations: 18.45 MB / 451.1 MB, free: 2.066 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)