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.008855/0.008855, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001248/0.001248, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.781/1.781, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001321/0.001321, allocations: 51.92 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 46.6 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.006083/0.1438, allocations: 3.412 MB / 376.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.1466, allocations: 0.8808 MB / 377.5 MB, free: 256 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.147, allocations: 4 kB / 377.5 MB, free: 252 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1474, allocations: 67.3 kB / 377.5 MB, free: 184 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.1478, allocations: 130.9 kB / 377.7 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3223/0.4702, allocations: 128.8 kB / 377.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.4713, allocations: 0.5108 MB / 378.3 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.4717, allocations: 176.5 kB / 378.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.472, allocations: 195.5 kB / 378.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.4723, allocations: 216.7 kB / 378.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.128e-05/0.4724, allocations: 45.09 kB / 378.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.264e-05/0.4725, allocations: 44.41 kB / 379 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4727, allocations: 103 kB / 379.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.4729, allocations: 225.8 kB / 379.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007042/0.4736, allocations: 0.5153 MB / 379.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4736, allocations: 4.031 kB / 379.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4736, allocations: 0 / 379.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.4736, allocations: 0.5 kB / 379.8 MB, free: 9.559 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.001428/0.4751, allocations: 0.7169 MB / 380.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4751, allocations: 9.531 kB / 380.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.4753, allocations: 49.53 kB / 380.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.4758, allocations: 340.3 kB / 380.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.4759, allocations: 28.12 kB / 380.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/0.476, allocations: 37.97 kB / 381 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.4768, allocations: 388.2 kB / 381.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.4768, allocations: 1.359 kB / 381.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/0.4768, allocations: 15.12 kB / 381.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4769, allocations: 9.062 kB / 381.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.4774, allocations: 253.3 kB / 381.6 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.4796, allocations: 1.466 MB / 383.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.4801, allocations: 237.9 kB / 383.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.4805, allocations: 167.6 kB / 383.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.4805, allocations: 8.531 kB / 383.5 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/0.4809, allocations: 232.5 kB / 383.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.4809, allocations: 0 / 383.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001676/0.4826, allocations: 0.5815 MB / 384.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.4827, allocations: 112 kB / 384.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.4831, allocations: 291.5 kB / 384.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.4832, allocations: 37.12 kB / 384.7 MB, free: 6.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4833, allocations: 216.2 kB / 384.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.4834, allocations: 101.9 kB / 385 MB, free: 6.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.4836, allocations: 67.64 kB / 385.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4837, allocations: 345.4 kB / 385.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.4839, allocations: 93.8 kB / 385.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.4842, allocations: 220.3 kB / 385.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.4847, allocations: 326.7 kB / 386.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.4847, allocations: 4.781 kB / 386.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007803/0.4855, allocations: 408.8 kB / 386.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.4856, allocations: 7.578 kB / 386.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4856, allocations: 3.594 kB / 386.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/0.486, allocations: 86.42 kB / 386.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.4863, allocations: 60.19 kB / 386.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.4882, allocations: 2.002 MB / 388.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.4885, allocations: 35.53 kB / 388.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.4886, allocations: 17.66 kB / 388.7 MB, free: 3.898 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.0002322/0.4888, allocations: 175.9 kB / 388.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.4889, allocations: 36.8 kB / 388.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.489, allocations: 38.23 kB / 388.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.489, allocations: 3.281 kB / 388.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.489, allocations: 1.062 kB / 388.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.489, allocations: 3.109 kB / 388.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006952/0.4897, allocations: 0.5645 MB / 389.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4897, allocations: 7.953 kB / 389.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.4899, allocations: 27.77 kB / 389.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/0.4901, allocations: 80.23 kB / 389.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.4902, allocations: 7.719 kB / 389.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.4918, allocations: 1.985 MB / 391.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4918, allocations: 5.219 kB / 391.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.4928, allocations: 0.4898 MB / 392.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.493, allocations: 137.1 kB / 392.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.493, allocations: 16.28 kB / 392.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.4932, allocations: 14.36 kB / 392.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.4933, allocations: 33.55 kB / 392.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.4934, allocations: 12.59 kB / 392.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000258/0.4936, allocations: 206.4 kB / 392.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4936, allocations: 1.531 kB / 392.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006028/0.4942, allocations: 112.6 kB / 392.6 MB, free: 0.8906 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.0001672/0.4944, allocations: 113.1 kB / 392.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009915/0.4954, allocations: 418 kB / 393.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.4954, allocations: 1.25 kB / 393.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.4959, allocations: 284.9 kB / 393.4 MB, free: 400 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.4963, allocations: 57.78 kB / 393.5 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.498, allocations: 0.7086 MB / 394.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.4986, allocations: 0.8037 MB / 395 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.4988, allocations: 35.81 kB / 395 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.4988, allocations: 25.33 kB / 395 MB, free: 15.23 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4989, allocations: 1.469 kB / 395 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Templates: time 0.01392/0.5128, allocations: 4.828 MB / 399.9 MB, free: 14.34 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)