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.001265/0.001273, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001455/0.001455, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.0005284/0.0005285, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4135, allocations: 47.58 MB / 326.5 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004263/0.4178, allocations: 2.768 MB / 329.2 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.42, allocations: 0.8589 MB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.4202, allocations: 9.5 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.4204, allocations: 44.14 kB / 330.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.4208, allocations: 142.1 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.4212, allocations: 99.75 kB / 330.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.4217, allocations: 335.8 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.4221, allocations: 139.4 kB / 330.8 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.4224, allocations: 156.5 kB / 331 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.4228, allocations: 174 kB / 331.2 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.4229, allocations: 20.03 kB / 331.2 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.544e-05/0.4229, allocations: 20.09 kB / 331.2 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.423, allocations: 68.23 kB / 331.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.4232, allocations: 102.5 kB / 331.4 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.4237, allocations: 382 kB / 331.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.4237, allocations: 5.094 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4237, allocations: 0 / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4237, allocations: 0 / 331.7 MB, free: 13.45 MB / 270.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.001415/0.4251, allocations: 0.6553 MB / 332.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.4252, allocations: 8.75 kB / 332.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.4253, allocations: 47.75 kB / 332.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.4259, allocations: 325.2 kB / 332.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/0.4259, allocations: 33.03 kB / 332.8 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.426, allocations: 40.28 kB / 332.8 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.4268, allocations: 379.8 kB / 333.2 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.4269, allocations: 0 / 333.2 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/0.427, allocations: 20.36 kB / 333.2 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.427, allocations: 8.094 kB / 333.2 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.4277, allocations: 265.1 kB / 333.5 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.4303, allocations: 1.48 MB / 335 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.4308, allocations: 251.3 kB / 335.2 MB, free: 10.51 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.4308, allocations: 8.234 kB / 335.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.4312, allocations: 225.1 kB / 335.5 MB, free: 10.27 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/0.4312, allocations: 0 / 335.5 MB, free: 10.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001466/0.4327, allocations: 0.581 MB / 336 MB, free: 9.656 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.4328, allocations: 85.11 kB / 336.1 MB, free: 9.555 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.4331, allocations: 296.4 kB / 336.4 MB, free: 9.262 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.4332, allocations: 37.69 kB / 336.4 MB, free: 9.219 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.4334, allocations: 212.4 kB / 336.7 MB, free: 9.008 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.4334, allocations: 94.64 kB / 336.7 MB, free: 8.914 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.4335, allocations: 8 kB / 336.8 MB, free: 8.906 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4336, allocations: 342.8 kB / 337.1 MB, free: 8.562 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.4338, allocations: 100.7 kB / 337.2 MB, free: 8.465 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.4341, allocations: 224.7 kB / 337.4 MB, free: 8.191 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.4344, allocations: 120 kB / 337.5 MB, free: 8.074 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4344, allocations: 0 / 337.5 MB, free: 8.074 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007533/0.4351, allocations: 426 kB / 337.9 MB, free: 7.648 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4352, allocations: 4 kB / 337.9 MB, free: 7.645 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4352, allocations: 11.98 kB / 338 MB, free: 7.633 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.4355, allocations: 88.7 kB / 338 MB, free: 7.543 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.4358, allocations: 55.91 kB / 338.1 MB, free: 7.488 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.4379, allocations: 1.823 MB / 339.9 MB, free: 5.523 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.4382, allocations: 47.73 kB / 340 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.4383, allocations: 12 kB / 340 MB, free: 5.465 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.4385, allocations: 173.6 kB / 340.1 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.4386, allocations: 39.56 kB / 340.2 MB, free: 5.246 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.4387, allocations: 35.09 kB / 340.2 MB, free: 5.215 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4387, allocations: 4 kB / 340.2 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4387, allocations: 4 kB / 340.2 MB, free: 5.207 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4387, allocations: 4 kB / 340.2 MB, free: 5.203 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.4392, allocations: 405.2 kB / 340.6 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4392, allocations: 0 / 340.6 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.4394, allocations: 43.86 kB / 340.7 MB, free: 4.715 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.4396, allocations: 72.81 kB / 340.7 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.4397, allocations: 8 kB / 340.7 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.4416, allocations: 1.823 MB / 342.6 MB, free: 2.676 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4416, allocations: 3.938 kB / 342.6 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.4425, allocations: 0.5069 MB / 343.1 MB, free: 2.145 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.4427, allocations: 128.7 kB / 343.2 MB, free: 2 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.4428, allocations: 11.95 kB / 343.2 MB, free: 1.988 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.4429, allocations: 15.98 kB / 343.2 MB, free: 1.973 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.443, allocations: 27.97 kB / 343.3 MB, free: 1.945 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.4431, allocations: 15.98 kB / 343.3 MB, free: 1.93 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.4433, allocations: 203.1 kB / 343.5 MB, free: 1.734 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4433, allocations: 0 / 343.5 MB, free: 1.734 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005474/0.4439, allocations: 111.7 kB / 343.6 MB, free: 1.625 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.4441, allocations: 111.2 kB / 343.7 MB, free: 1.508 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008887/0.445, allocations: 427 kB / 344.1 MB, free: 1.078 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.445, allocations: 0 / 344.1 MB, free: 1.078 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.4454, allocations: 294.5 kB / 344.4 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.4458, allocations: 52.56 kB / 344.4 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.4472, allocations: 0.8348 MB / 345.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.4477, allocations: 0.8107 MB / 346.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.4479, allocations: 43.08 kB / 346.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.448, allocations: 27.38 kB / 346.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of SimCode: time 9.21e-07/0.448, allocations: 0 / 346.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of Templates: time 0.009558/0.4575, allocations: 4.217 MB / 350.4 MB, free: 10.74 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: