Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001508/0.001509, allocations: 195 kB / 18 MB, free: 5.105 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.827/1.827, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001388/0.001388, allocations: 55.86 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1314, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005337/0.1368, allocations: 3.393 MB / 377.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1388, allocations: 0.8847 MB / 378.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.139, allocations: 4 kB / 378.8 MB, free: 252 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1393, allocations: 71.3 kB / 378.9 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.1397, allocations: 114.9 kB / 379 MB, free: 64 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3141/0.4538, allocations: 136.1 kB / 379.1 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.4549, allocations: 0.5085 MB / 379.6 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004398/0.4554, allocations: 175.1 kB / 379.8 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.4558, allocations: 200.1 kB / 380 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.4562, allocations: 209.8 kB / 380.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.4563, allocations: 48.27 kB / 380.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4564, allocations: 44.31 kB / 380.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.4566, allocations: 102.6 kB / 380.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.4569, allocations: 225.9 kB / 380.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.458, allocations: 0.5147 MB / 381.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.458, allocations: 1.422 kB / 381.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.458, allocations: 0 / 381.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.458, allocations: 0.625 kB / 381.1 MB, free: 9.547 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001908/0.4599, allocations: 0.715 MB / 381.8 MB, free: 9.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.9e-05/0.46, allocations: 11.86 kB / 381.8 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.4602, allocations: 48.94 kB / 381.9 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.461, allocations: 347.3 kB / 382.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.4611, allocations: 27.66 kB / 382.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.4612, allocations: 38.66 kB / 382.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.4622, allocations: 386.9 kB / 382.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.4623, allocations: 1.094 kB / 382.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.4623, allocations: 15.55 kB / 382.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.4623, allocations: 9.25 kB / 382.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/0.4631, allocations: 251.3 kB / 382.9 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.4657, allocations: 1.458 MB / 384.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.4661, allocations: 246.3 kB / 384.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/0.4666, allocations: 164 kB / 384.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.4666, allocations: 4.266 kB / 384.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/0.4672, allocations: 238.4 kB / 385 MB, free: 7.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 3.296e-06/0.4672, allocations: 5.531 kB / 385 MB, free: 7.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001786/0.469, allocations: 0.5794 MB / 385.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.4691, allocations: 112 kB / 385.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.4695, allocations: 300.3 kB / 386 MB, free: 7.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.4696, allocations: 37.05 kB / 386.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.4698, allocations: 212.5 kB / 386.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.4699, allocations: 93.67 kB / 386.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.4701, allocations: 71.92 kB / 386.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4702, allocations: 340.9 kB / 386.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.4705, allocations: 91.5 kB / 386.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.4708, allocations: 225.3 kB / 387.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.4714, allocations: 325.9 kB / 387.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4715, allocations: 1.344 kB / 387.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008125/0.4723, allocations: 415.3 kB / 387.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4723, allocations: 7 kB / 387.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4723, allocations: 3.594 kB / 387.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/0.4727, allocations: 87.62 kB / 387.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.473, allocations: 55.95 kB / 387.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.4751, allocations: 2.007 MB / 390 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.4754, allocations: 35.91 kB / 390 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.4754, allocations: 17.72 kB / 390 MB, free: 3.906 MB / 318.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: 11 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.4757, allocations: 168.6 kB / 390.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.4757, allocations: 36.84 kB / 390.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.56e-05/0.4758, allocations: 38.58 kB / 390.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4758, allocations: 4.062 kB / 390.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.4758, allocations: 1.125 kB / 390.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.4759, allocations: 1.969 kB / 390.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007981/0.4767, allocations: 0.5687 MB / 390.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4767, allocations: 3.203 kB / 390.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.4769, allocations: 27.88 kB / 390.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002515/0.4771, allocations: 87.69 kB / 390.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.4772, allocations: 7.688 kB / 390.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.4792, allocations: 1.986 MB / 392.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4792, allocations: 1 kB / 392.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.4804, allocations: 0.4938 MB / 393.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.4806, allocations: 137.9 kB / 393.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.4806, allocations: 16.17 kB / 393.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.4808, allocations: 12.83 kB / 393.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.481, allocations: 33.27 kB / 393.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.481, allocations: 9.984 kB / 393.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003084/0.4813, allocations: 211.5 kB / 393.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4813, allocations: 0 / 393.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006313/0.482, allocations: 109.6 kB / 393.9 MB, free: 0.9023 MB / 318.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.4822, allocations: 112.5 kB / 394 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.4833, allocations: 421 kB / 394.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.4833, allocations: 0.7031 kB / 394.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.4838, allocations: 282.4 kB / 394.7 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.4843, allocations: 61.86 kB / 394.8 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.4861, allocations: 0.6985 MB / 395.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.4869, allocations: 0.8068 MB / 396.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.4871, allocations: 36.14 kB / 396.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.4872, allocations: 24.95 kB / 396.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4872, allocations: 1.469 kB / 396.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of Templates: time 0.01626/0.5034, allocations: 4.974 MB / 401.3 MB, free: 14.23 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)