Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 103.5 kB / 16.62 MB, free: 6.801 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.001067/0.001068, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.75/1.75, allocations: 205.1 MB / 223.4 MB, free: 12.36 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.001307/0.001307, allocations: 47.94 kB / 279.5 MB, free: 3.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1414, allocations: 46.63 MB / 326.2 MB, free: 4.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005869/0.1473, allocations: 3.642 MB / 329.8 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1498, allocations: 1.03 MB / 330.8 MB, free: 48 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.15, allocations: 15.88 kB / 330.8 MB, free: 32 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.1504, allocations: 79.45 kB / 330.9 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008788/0.1513, allocations: 215 kB / 331.1 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.1516, allocations: 127.8 kB / 331.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1527, allocations: 0.9535 MB / 332.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/0.1534, allocations: 0.5569 MB / 332.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004955/0.1539, allocations: 402.6 kB / 333.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.1545, allocations: 0.4981 MB / 333.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.1547, allocations: 100 kB / 333.8 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1548, allocations: 96 kB / 333.9 MB, free: 13 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.1551, allocations: 279.2 kB / 334.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.1555, allocations: 469.8 kB / 334.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.1567, allocations: 1.262 MB / 335.8 MB, free: 11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1567, allocations: 4 kB / 335.8 MB, free: 11 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1567, allocations: 0 / 335.8 MB, free: 11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.1568, allocations: 0 / 335.8 MB, free: 11 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002511/0.1593, allocations: 1.158 MB / 337 MB, free: 9.793 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.1593, allocations: 8.031 kB / 337 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.1595, allocations: 87.91 kB / 337.1 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009108/0.1604, allocations: 0.5963 MB / 337.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-05/0.1605, allocations: 49.25 kB / 337.7 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.1606, allocations: 67.94 kB / 337.8 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.1622, allocations: 0.9149 MB / 338.7 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.1622, allocations: 0 / 338.7 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.1623, allocations: 28 kB / 338.8 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.1623, allocations: 25.31 kB / 338.8 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.1636, allocations: 0.7935 MB / 339.6 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004226/0.1679, allocations: 2.792 MB / 342.4 MB, free: 4.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.169, allocations: 0.7411 MB / 343.1 MB, free: 3.457 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.1696, allocations: 345.3 kB / 343.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.1696, allocations: 8.312 kB / 343.5 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007385/0.1704, allocations: 389.5 kB / 343.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.835e-06/0.1704, allocations: 0 / 343.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002887/0.1733, allocations: 1.189 MB / 345 MB, free: 1.488 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1734, allocations: 110.8 kB / 345.1 MB, free: 1.355 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/0.1742, allocations: 0.5644 MB / 345.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.1743, allocations: 33.7 kB / 345.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.1747, allocations: 360 kB / 346.1 MB, free: 396 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.1748, allocations: 138 kB / 346.2 MB, free: 256 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.175, allocations: 90.25 kB / 346.3 MB, free: 160 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.1753, allocations: 358.8 kB / 346.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.1756, allocations: 221 kB / 346.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.1761, allocations: 349.8 kB / 347.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/0.1769, allocations: 0.5769 MB / 347.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1769, allocations: 7.875 kB / 347.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00135/0.1783, allocations: 0.7512 MB / 348.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.1783, allocations: 4 kB / 348.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.1784, allocations: 4 kB / 348.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/0.179, allocations: 200.7 kB / 348.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.1793, allocations: 83.86 kB / 348.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/0.1832, allocations: 2.928 MB / 351.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.1837, allocations: 55.64 kB / 351.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.1837, allocations: 16 kB / 351.8 MB, free: 10.34 MB / 302.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: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006661/0.1844, allocations: 333.5 kB / 352.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.1845, allocations: 55.34 kB / 352.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.1847, allocations: 73.27 kB / 352.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1847, allocations: 4 kB / 352.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1847, allocations: 0 / 352.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1847, allocations: 3.938 kB / 352.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.1872, allocations: 1.631 MB / 353.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1872, allocations: 0 / 353.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.1875, allocations: 43.97 kB / 354 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.188, allocations: 200.9 kB / 354.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.188, allocations: 15.98 kB / 354.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003099/0.1911, allocations: 2.919 MB / 357.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1912, allocations: 0 / 357.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.1929, allocations: 1.096 MB / 358.2 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.1932, allocations: 192.4 kB / 358.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.1933, allocations: 12 kB / 358.4 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.1936, allocations: 23.97 kB / 358.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.1938, allocations: 51.88 kB / 358.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.1939, allocations: 15.92 kB / 358.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006482/0.1945, allocations: 418.8 kB / 358.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1945, allocations: 0 / 358.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009511/0.1955, allocations: 203.3 kB / 359.1 MB, free: 2.832 MB / 302.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002538/0.1957, allocations: 123.3 kB / 359.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.1974, allocations: 0.7869 MB / 360 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1974, allocations: 0 / 360 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.1982, allocations: 483.1 kB / 360.5 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/0.199, allocations: 142.3 kB / 360.6 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.2023, allocations: 1.801 MB / 362.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.203, allocations: 1.07 MB / 363.5 MB, free: 14.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003046/0.2034, allocations: 100.7 kB / 363.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2035, allocations: 39.42 kB / 363.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2035, allocations: 0 / 363.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of Templates: time 0.01844/0.2219, allocations: 9.838 MB / 373.4 MB, free: 4.367 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)