Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.009183/0.009183, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001695/0.001695, allocations: 197.6 kB / 16.68 MB, free: 5.965 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.911/1.911, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.001537/0.001537, allocations: 49.61 kB / 326.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1456, allocations: 46.63 MB / 373.2 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005468/0.1512, allocations: 3.382 MB / 376.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.1535, allocations: 0.8924 MB / 377.5 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.1539, allocations: 4 kB / 377.5 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.1543, allocations: 67.3 kB / 377.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.1547, allocations: 122.9 kB / 377.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.1552, allocations: 139.7 kB / 377.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006547/0.1558, allocations: 0.4979 MB / 378.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.1562, allocations: 181.8 kB / 378.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.1565, allocations: 195.2 kB / 378.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.1569, allocations: 215 kB / 378.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.157, allocations: 48 kB / 378.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.1571, allocations: 48 kB / 379 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1572, allocations: 103.6 kB / 379.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.1574, allocations: 222.8 kB / 379.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.158, allocations: 0.5178 MB / 379.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1581, allocations: 3.984 kB / 379.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1581, allocations: 0 / 379.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.1581, allocations: 0 / 379.8 MB, free: 10.77 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.001577/0.1597, allocations: 0.7184 MB / 380.5 MB, free: 9.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.1597, allocations: 12.03 kB / 380.5 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1599, allocations: 48.38 kB / 380.6 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.1604, allocations: 336.3 kB / 380.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.1604, allocations: 37.36 kB / 380.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.1605, allocations: 40.31 kB / 381 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/0.1612, allocations: 387.3 kB / 381.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1612, allocations: 0 / 381.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.1613, allocations: 12 kB / 381.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.1613, allocations: 8 kB / 381.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.1618, allocations: 258.4 kB / 381.6 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.1641, allocations: 1.459 MB / 383.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.1646, allocations: 247.4 kB / 383.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.165, allocations: 165.2 kB / 383.5 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.165, allocations: 8.219 kB / 383.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.1655, allocations: 229.9 kB / 383.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.414e-06/0.1655, allocations: 3.938 kB / 383.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001657/0.1671, allocations: 0.5771 MB / 384.3 MB, free: 5.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/0.1672, allocations: 114.8 kB / 384.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.1676, allocations: 292.6 kB / 384.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.1677, allocations: 33.7 kB / 384.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.1678, allocations: 212.4 kB / 385 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-05/0.168, allocations: 102.5 kB / 385.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.1681, allocations: 70.06 kB / 385.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1683, allocations: 342.8 kB / 385.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1685, allocations: 92.7 kB / 385.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.1688, allocations: 217.5 kB / 385.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.1693, allocations: 331.1 kB / 386.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1693, allocations: 0 / 386.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007497/0.1701, allocations: 413.9 kB / 386.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.1701, allocations: 9.094 kB / 386.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1701, allocations: 4 kB / 386.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.1705, allocations: 80.75 kB / 386.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1707, allocations: 59.91 kB / 386.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.173, allocations: 2.006 MB / 388.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.1734, allocations: 39.67 kB / 388.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.1734, allocations: 16 kB / 388.7 MB, free: 1.281 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.0003292/0.1738, allocations: 165.7 kB / 388.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.1738, allocations: 39.5 kB / 388.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.1739, allocations: 43.09 kB / 388.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.1739, allocations: 12.09 kB / 388.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.174, allocations: 0 / 388.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.174, allocations: 7.984 kB / 389 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007427/0.1747, allocations: 0.5615 MB / 389.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1747, allocations: 0 / 389.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.1749, allocations: 31.92 kB / 389.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/0.1752, allocations: 76.8 kB / 389.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1752, allocations: 12.03 kB / 389.6 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.1773, allocations: 1.986 MB / 391.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.1773, allocations: 8.062 kB / 391.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000961/0.1782, allocations: 0.4949 MB / 392.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.1784, allocations: 128.6 kB / 392.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.1785, allocations: 11.94 kB / 392.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1787, allocations: 15.98 kB / 392.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.1788, allocations: 27.95 kB / 392.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.1788, allocations: 12 kB / 392.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.179, allocations: 207.1 kB / 392.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.179, allocations: 0 / 392.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005499/0.1796, allocations: 115.7 kB / 392.6 MB, free: 13.08 MB / 334.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.0001607/0.1797, allocations: 107.2 kB / 392.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008687/0.1806, allocations: 418.2 kB / 393.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.1806, allocations: 4 kB / 393.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005009/0.1811, allocations: 280.5 kB / 393.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.1816, allocations: 60.94 kB / 393.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1833, allocations: 0.7076 MB / 394.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.1837, allocations: 0.8029 MB / 395 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.1838, allocations: 30.97 kB / 395 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.1839, allocations: 31.42 kB / 395.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1839, allocations: 0 / 395.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Templates: time 0.0104/0.1943, allocations: 4.821 MB / 399.9 MB, free: 5.746 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)