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.001238/0.001238, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01216/0.01216, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.916/1.916, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004832/0.0004833, allocations: 8 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3929, allocations: 47.59 MB / 327.1 MB, free: 1.348 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005098/0.3981, allocations: 3.057 MB / 330.1 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.4005, allocations: 0.8483 MB / 331 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.401, allocations: 10.78 kB / 331 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.4012, allocations: 44.67 kB / 331 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.4017, allocations: 108.9 kB / 331.1 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.4021, allocations: 119.8 kB / 331.2 MB, free: 14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007702/0.4029, allocations: 481.9 kB / 331.7 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.4033, allocations: 150.4 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.4037, allocations: 157.2 kB / 332 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.404, allocations: 187.3 kB / 332.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.43e-05/0.4041, allocations: 19.09 kB / 332.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.4042, allocations: 20.66 kB / 332.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.4043, allocations: 71.75 kB / 332.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.4047, allocations: 233.2 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006893/0.4054, allocations: 477.2 kB / 333 MB, free: 12.83 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4054, allocations: 0 / 333 MB, free: 12.83 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4054, allocations: 1.094 kB / 333 MB, free: 12.83 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.4054, allocations: 3.938 kB / 333 MB, free: 12.82 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.001371/0.4068, allocations: 0.6473 MB / 333.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.4069, allocations: 9.875 kB / 333.7 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.407, allocations: 48.59 kB / 333.7 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.4076, allocations: 330.6 kB / 334 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.4076, allocations: 27.94 kB / 334.1 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.622e-05/0.4077, allocations: 37.5 kB / 334.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000847/0.4086, allocations: 393.5 kB / 334.5 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.4086, allocations: 5.016 kB / 334.5 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/0.4087, allocations: 15.5 kB / 334.5 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.4087, allocations: 8 kB / 334.5 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.4094, allocations: 273.3 kB / 334.8 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.4117, allocations: 1.479 MB / 336.2 MB, free: 9.906 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.4122, allocations: 247.5 kB / 336.5 MB, free: 9.656 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.4126, allocations: 161.3 kB / 336.6 MB, free: 9.496 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.4126, allocations: 8.234 kB / 336.7 MB, free: 9.488 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005134/0.4131, allocations: 241.8 kB / 336.9 MB, free: 9.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.4132, allocations: 0 / 336.9 MB, free: 9.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001658/0.4148, allocations: 0.6044 MB / 337.5 MB, free: 8.598 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.4149, allocations: 110.8 kB / 337.6 MB, free: 8.465 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.4152, allocations: 292.5 kB / 337.9 MB, free: 8.172 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.4153, allocations: 37.7 kB / 337.9 MB, free: 8.129 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.4155, allocations: 208.4 kB / 338.1 MB, free: 7.922 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.4156, allocations: 98.61 kB / 338.2 MB, free: 7.824 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.4156, allocations: 45.69 kB / 338.3 MB, free: 7.773 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4158, allocations: 338.8 kB / 338.6 MB, free: 7.434 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.416, allocations: 96.7 kB / 338.7 MB, free: 7.336 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.4163, allocations: 225.5 kB / 338.9 MB, free: 7.059 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.4168, allocations: 335.1 kB / 339.2 MB, free: 6.676 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4168, allocations: 0 / 339.2 MB, free: 6.676 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008718/0.4177, allocations: 429.5 kB / 339.7 MB, free: 6.246 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.4178, allocations: 4 kB / 339.7 MB, free: 6.242 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4178, allocations: 4 kB / 339.7 MB, free: 6.238 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/0.4181, allocations: 89.06 kB / 339.8 MB, free: 6.148 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.4183, allocations: 59.91 kB / 339.8 MB, free: 6.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.4204, allocations: 1.815 MB / 341.6 MB, free: 4.133 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.4208, allocations: 43.67 kB / 341.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.4208, allocations: 12 kB / 341.7 MB, free: 4.078 MB / 270.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.0003434/0.4211, allocations: 174.8 kB / 341.9 MB, free: 3.898 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.4212, allocations: 31.62 kB / 341.9 MB, free: 3.867 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.539e-05/0.4213, allocations: 43.03 kB / 341.9 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4213, allocations: 4 kB / 341.9 MB, free: 3.824 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4213, allocations: 0 / 341.9 MB, free: 3.824 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4213, allocations: 7.984 kB / 341.9 MB, free: 3.816 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.422, allocations: 0.5653 MB / 342.5 MB, free: 3.191 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4221, allocations: 0 / 342.5 MB, free: 3.191 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.4222, allocations: 31.98 kB / 342.5 MB, free: 3.16 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.4225, allocations: 76.8 kB / 342.6 MB, free: 3.082 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.4225, allocations: 8 kB / 342.6 MB, free: 3.074 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.4245, allocations: 1.803 MB / 344.4 MB, free: 1.133 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4245, allocations: 4.062 kB / 344.4 MB, free: 1.129 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009922/0.4255, allocations: 0.5027 MB / 344.9 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.4256, allocations: 132.7 kB / 345.1 MB, free: 464 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.4257, allocations: 12 kB / 345.1 MB, free: 452 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.4259, allocations: 15.98 kB / 345.1 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.426, allocations: 23.97 kB / 345.1 MB, free: 412 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.426, allocations: 11.98 kB / 345.1 MB, free: 400 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.4263, allocations: 211.1 kB / 345.3 MB, free: 192 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4263, allocations: 0 / 345.3 MB, free: 192 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005145/0.4268, allocations: 115.7 kB / 345.4 MB, free: 76 kB / 270.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.0002102/0.427, allocations: 111.2 kB / 345.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000897/0.4279, allocations: 426.3 kB / 346 MB, free: 15.53 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4279, allocations: 0 / 346 MB, free: 15.53 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.4284, allocations: 291.5 kB / 346.3 MB, free: 15.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.4288, allocations: 60.34 kB / 346.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.4304, allocations: 0.896 MB / 347.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.4308, allocations: 0.8029 MB / 348 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.431, allocations: 34.97 kB / 348 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.4311, allocations: 27.44 kB / 348.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4311, allocations: 0 / 348.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of Templates: time 0.01058/0.4417, allocations: 4.358 MB / 352.4 MB, free: 8.996 MB / 286.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)