Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.008549/0.008549, allocations: 101.1 kB / 15.73 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.001268/0.001268, allocations: 190.4 kB / 16.67 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.819/1.819, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.001281/0.001281, allocations: 56.11 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1585, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005837/0.1644, allocations: 3.39 MB / 376.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.1667, allocations: 0.8847 MB / 377.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.1671, allocations: 4 kB / 377.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.1674, allocations: 71.23 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.1679, allocations: 130.9 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1683, allocations: 131.8 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006348/0.169, allocations: 0.5096 MB / 378.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.1694, allocations: 177.8 kB / 378.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.1697, allocations: 195.2 kB / 378.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.17, allocations: 215 kB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.1701, allocations: 48 kB / 378.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.1702, allocations: 44 kB / 379 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1703, allocations: 95.69 kB / 379.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.1705, allocations: 230.8 kB / 379.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.1713, allocations: 0.5216 MB / 379.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.1713, allocations: 0 / 379.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1713, allocations: 0 / 379.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1713, allocations: 0 / 379.8 MB, free: 10.64 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.001523/0.1729, allocations: 0.7184 MB / 380.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1729, allocations: 8.031 kB / 380.5 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.173, allocations: 48.38 kB / 380.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.1736, allocations: 348.2 kB / 380.9 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.1736, allocations: 25.38 kB / 380.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.1737, allocations: 40.38 kB / 381 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.1744, allocations: 383.3 kB / 381.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1744, allocations: 0 / 381.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.1745, allocations: 19.94 kB / 381.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.1745, allocations: 8 kB / 381.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.175, allocations: 262.4 kB / 381.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.1771, allocations: 1.455 MB / 383.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.1775, allocations: 243.5 kB / 383.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.1779, allocations: 169.2 kB / 383.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.178, allocations: 240 / 383.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004357/0.1784, allocations: 241.9 kB / 383.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.473e-06/0.1784, allocations: 0 / 383.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001592/0.18, allocations: 0.577 MB / 384.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1802, allocations: 114.8 kB / 384.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.1805, allocations: 288.6 kB / 384.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.1806, allocations: 33.7 kB / 384.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.1807, allocations: 216.4 kB / 385 MB, free: 5.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.1808, allocations: 98.55 kB / 385.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1809, allocations: 70.06 kB / 385.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.1812, allocations: 342.8 kB / 385.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1814, allocations: 88.7 kB / 385.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.1817, allocations: 225.5 kB / 385.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.1822, allocations: 335 kB / 386.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.1822, allocations: 0 / 386.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007951/0.183, allocations: 414 kB / 386.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.183, allocations: 4 kB / 386.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.183, allocations: 4 kB / 386.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.1834, allocations: 84.75 kB / 386.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.1837, allocations: 55.91 kB / 386.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.186, allocations: 2.013 MB / 388.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.1863, allocations: 39.67 kB / 388.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.1863, allocations: 12 kB / 388.7 MB, free: 1.148 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.0003105/0.1866, allocations: 165.8 kB / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.1867, allocations: 35.56 kB / 388.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.612e-05/0.1868, allocations: 39.09 kB / 388.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1868, allocations: 12 kB / 388.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1868, allocations: 0 / 388.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1868, allocations: 3.984 kB / 389 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/0.1876, allocations: 0.5653 MB / 389.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1876, allocations: 0 / 389.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.1878, allocations: 31.98 kB / 389.5 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.1881, allocations: 88.77 kB / 389.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.1881, allocations: 4 kB / 389.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.1905, allocations: 1.994 MB / 391.6 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1905, allocations: 0 / 391.6 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.1916, allocations: 0.4949 MB / 392.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.1919, allocations: 128.7 kB / 392.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.1919, allocations: 15.92 kB / 392.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1921, allocations: 8 kB / 392.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.1922, allocations: 35.89 kB / 392.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1923, allocations: 8 kB / 392.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.1926, allocations: 215.1 kB / 392.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1926, allocations: 0 / 392.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000655/0.1933, allocations: 111.7 kB / 392.6 MB, free: 12.95 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.0002338/0.1935, allocations: 111.4 kB / 392.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1946, allocations: 422.1 kB / 393.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1946, allocations: 0 / 393.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.195, allocations: 276.5 kB / 393.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1954, allocations: 60.62 kB / 393.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.197, allocations: 0.7076 MB / 394.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.1976, allocations: 0.8031 MB / 395 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.1978, allocations: 38.94 kB / 395 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.1979, allocations: 27.44 kB / 395.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1979, allocations: 0 / 395.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of Templates: time 0.01449/0.2124, allocations: 4.813 MB / 399.9 MB, free: 5.617 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)