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.007416/0.007416, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001671/0.001671, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.668/1.668, allocations: 205.1 MB / 222.6 MB, free: 4.559 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.001282/0.001282, allocations: 54.8 kB / 326.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006409/0.1146, allocations: 4.499 MB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.1176, allocations: 1.27 MB / 379 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.1179, allocations: 19.88 kB / 379 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.1184, allocations: 174.6 kB / 379.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009718/0.1194, allocations: 354.1 kB / 379.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.1198, allocations: 191.7 kB / 379.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.1216, allocations: 1.623 MB / 381.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.1228, allocations: 0.9374 MB / 382.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009999/0.1239, allocations: 0.6852 MB / 382.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.125, allocations: 0.8328 MB / 383.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.1253, allocations: 176 kB / 383.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1256, allocations: 172 kB / 384.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.126, allocations: 482.6 kB / 384.6 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009649/0.127, allocations: 0.7855 MB / 385.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.1293, allocations: 2.235 MB / 387.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1293, allocations: 4 kB / 387.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1293, allocations: 0 / 387.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.248e-05/0.1293, allocations: 0 / 387.6 MB, free: 2.836 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.003311/0.1327, allocations: 1.755 MB / 389.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1327, allocations: 8.031 kB / 389.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.133, allocations: 151.2 kB / 389.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.1344, allocations: 0.9345 MB / 390.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.1345, allocations: 74.41 kB / 390.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.1347, allocations: 112.1 kB / 390.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.1374, allocations: 1.545 MB / 392.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.1374, allocations: 0 / 392.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.1375, allocations: 40 kB / 392.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-05/0.1376, allocations: 54.02 kB / 392.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.1401, allocations: 1.421 MB / 393.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007523/0.1477, allocations: 4.867 MB / 398.5 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.1494, allocations: 1.445 MB / 400 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.1507, allocations: 0.7427 MB / 400.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.274e-05/0.1508, allocations: 8.547 kB / 400.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009786/0.1518, allocations: 0.6161 MB / 401.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.707e-06/0.1518, allocations: 0 / 401.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006061/0.1578, allocations: 2.415 MB / 403.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.158, allocations: 85.77 kB / 403.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.1595, allocations: 0.9344 MB / 404.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.069e-05/0.1596, allocations: 45.7 kB / 404.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.1601, allocations: 0.523 MB / 405.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.1603, allocations: 232.7 kB / 405.6 MB, free: 276 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.1606, allocations: 130.6 kB / 405.7 MB, free: 140 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1608, allocations: 334 kB / 406 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007611/0.1616, allocations: 413.7 kB / 406.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008898/0.1625, allocations: 0.5602 MB / 407 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.1641, allocations: 0.9465 MB / 407.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.1641, allocations: 0 / 407.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002538/0.1667, allocations: 1.291 MB / 409.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.1668, allocations: 8 kB / 409.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.1668, allocations: 4 kB / 409.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.1679, allocations: 406.9 kB / 409.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.1684, allocations: 107.8 kB / 409.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.1752, allocations: 4.49 MB / 414.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.1761, allocations: 91.47 kB / 414.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.1762, allocations: 23.94 kB / 414.4 MB, free: 7.219 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.001183/0.1774, allocations: 487.3 kB / 414.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.1778, allocations: 98.81 kB / 414.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.1782, allocations: 120.5 kB / 415 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.1782, allocations: 4.125 kB / 415.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1783, allocations: 8 kB / 415.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1783, allocations: 7.984 kB / 415.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/0.1834, allocations: 2.59 MB / 417.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.1835, allocations: 0 / 417.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.1839, allocations: 83.88 kB / 417.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009301/0.1849, allocations: 396.7 kB / 418.1 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/0.185, allocations: 12 kB / 418.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/0.1911, allocations: 4.466 MB / 422.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1911, allocations: 0 / 422.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/0.1944, allocations: 1.955 MB / 424.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/0.1951, allocations: 279.9 kB / 424.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.1953, allocations: 16 kB / 424.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.1959, allocations: 43.94 kB / 424.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.1961, allocations: 84.61 kB / 425 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.1962, allocations: 23.98 kB / 425 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.1974, allocations: 0.6747 MB / 425.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.1974, allocations: 0 / 425.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001261/0.1987, allocations: 350.8 kB / 426 MB, free: 11.3 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.0002775/0.199, allocations: 119 kB / 426.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00244/0.2014, allocations: 1.28 MB / 427.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2015, allocations: 3.938 kB / 427.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.2028, allocations: 0.8069 MB / 428.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.2041, allocations: 255.4 kB / 428.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.2098, allocations: 2.604 MB / 431.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.2112, allocations: 1.384 MB / 432.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006036/0.2118, allocations: 171.3 kB / 432.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.212, allocations: 63.42 kB / 432.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.212, allocations: 0 / 432.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of Templates: time 0.03792/0.25, allocations: 18.44 MB / 451.1 MB, free: 2.047 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)