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.001615/0.001615, allocations: 91.3 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.01145/0.01145, allocations: 171.8 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.882/1.882, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005675/0.0005676, allocations: 20 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3799, allocations: 47.58 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004073/0.384, allocations: 3.054 MB / 330.1 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3856, allocations: 0.8562 MB / 331 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.3858, allocations: 9.75 kB / 331 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.386, allocations: 48.89 kB / 331 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.3863, allocations: 106 kB / 331.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.3867, allocations: 115.8 kB / 331.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005945/0.3873, allocations: 485.7 kB / 331.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.3877, allocations: 150.5 kB / 331.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.3879, allocations: 157.5 kB / 332 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.3883, allocations: 190.6 kB / 332.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.149e-05/0.3884, allocations: 19.47 kB / 332.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.3885, allocations: 19.59 kB / 332.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3886, allocations: 68.39 kB / 332.3 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.3889, allocations: 217.6 kB / 332.5 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006015/0.3895, allocations: 489.1 kB / 333 MB, free: 12.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.3895, allocations: 0 / 333 MB, free: 12.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3895, allocations: 5 kB / 333 MB, free: 12.88 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3895, allocations: 0 / 333 MB, free: 12.88 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.001447/0.391, allocations: 0.6516 MB / 333.6 MB, free: 12.31 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.391, allocations: 8.969 kB / 333.7 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3912, allocations: 49.72 kB / 333.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.3917, allocations: 333.9 kB / 334 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.3917, allocations: 28.91 kB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-05/0.3918, allocations: 36.66 kB / 334.1 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.3927, allocations: 389.9 kB / 334.5 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.3927, allocations: 1.469 kB / 334.5 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.3928, allocations: 18.83 kB / 334.5 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.3928, allocations: 8.688 kB / 334.5 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/0.3935, allocations: 261.3 kB / 334.8 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.3956, allocations: 1.49 MB / 336.2 MB, free: 9.945 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.3961, allocations: 239.5 kB / 336.5 MB, free: 9.703 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.3965, allocations: 169.3 kB / 336.6 MB, free: 9.535 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.3965, allocations: 4.234 kB / 336.7 MB, free: 9.531 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004218/0.397, allocations: 253.8 kB / 336.9 MB, free: 9.262 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.397, allocations: 0 / 336.9 MB, free: 9.262 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001578/0.3985, allocations: 0.5966 MB / 337.5 MB, free: 8.637 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.3987, allocations: 114.8 kB / 337.6 MB, free: 8.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.3991, allocations: 296.5 kB / 337.9 MB, free: 8.203 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.3991, allocations: 33.7 kB / 337.9 MB, free: 8.164 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.3993, allocations: 212.4 kB / 338.1 MB, free: 7.953 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.3994, allocations: 94.61 kB / 338.2 MB, free: 7.859 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.3995, allocations: 41.69 kB / 338.3 MB, free: 7.812 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3997, allocations: 338.8 kB / 338.6 MB, free: 7.473 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.3999, allocations: 96.7 kB / 338.7 MB, free: 7.375 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.4003, allocations: 229.5 kB / 338.9 MB, free: 7.094 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/0.4008, allocations: 331.1 kB / 339.2 MB, free: 6.715 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4009, allocations: 8 kB / 339.3 MB, free: 6.707 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007879/0.4017, allocations: 425.8 kB / 339.7 MB, free: 6.281 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.4017, allocations: 4 kB / 339.7 MB, free: 6.277 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4017, allocations: 4 kB / 339.7 MB, free: 6.273 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.4021, allocations: 84.81 kB / 339.8 MB, free: 6.188 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.4023, allocations: 59.84 kB / 339.8 MB, free: 6.129 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.4046, allocations: 1.807 MB / 341.6 MB, free: 4.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.4048, allocations: 39.67 kB / 341.7 MB, free: 4.141 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.4049, allocations: 20 kB / 341.7 MB, free: 4.121 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.0002367/0.4051, allocations: 178.7 kB / 341.9 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.4052, allocations: 35.69 kB / 341.9 MB, free: 3.902 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.568e-05/0.4053, allocations: 43.03 kB / 341.9 MB, free: 3.863 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.4053, allocations: 4 kB / 341.9 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4053, allocations: 0 / 341.9 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.4053, allocations: 3.984 kB / 341.9 MB, free: 3.855 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006734/0.406, allocations: 0.5614 MB / 342.5 MB, free: 3.234 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.406, allocations: 4 kB / 342.5 MB, free: 3.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.4062, allocations: 31.92 kB / 342.5 MB, free: 3.199 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.4064, allocations: 80.83 kB / 342.6 MB, free: 3.117 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.4065, allocations: 8 kB / 342.6 MB, free: 3.109 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.4084, allocations: 1.807 MB / 344.4 MB, free: 1.164 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4084, allocations: 0 / 344.4 MB, free: 1.164 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.4094, allocations: 0.4989 MB / 344.9 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.4095, allocations: 140.6 kB / 345.1 MB, free: 496 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.4096, allocations: 12 kB / 345.1 MB, free: 484 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.4098, allocations: 15.98 kB / 345.1 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.4099, allocations: 23.97 kB / 345.1 MB, free: 444 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.4099, allocations: 11.98 kB / 345.1 MB, free: 432 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.4101, allocations: 203.1 kB / 345.3 MB, free: 232 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4102, allocations: 0 / 345.3 MB, free: 232 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005979/0.4108, allocations: 111.7 kB / 345.4 MB, free: 120 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.0002092/0.411, allocations: 119.2 kB / 345.6 MB, free: 15.99 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007911/0.4118, allocations: 422.3 kB / 346 MB, free: 15.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4118, allocations: 0 / 346 MB, free: 15.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.4122, allocations: 287.5 kB / 346.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.4126, allocations: 68.52 kB / 346.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.4141, allocations: 0.896 MB / 347.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.4146, allocations: 0.7951 MB / 348 MB, free: 13.45 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.4148, allocations: 38.95 kB / 348 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.4148, allocations: 23.44 kB / 348.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4148, allocations: 3.938 kB / 348.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of Templates: time 0.009626/0.4245, allocations: 4.358 MB / 352.4 MB, free: 9.035 MB / 286.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)