Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.002209/0.002216, allocations: 114.6 kB / 17.07 MB, free: 6.016 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.002624/0.002625, allocations: 191 kB / 18 MB, free: 5.098 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.78/1.78, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001587/0.001588, allocations: 43.94 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1567, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.0083/0.1651, allocations: 3.397 MB / 377.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.1683, allocations: 0.8925 MB / 378.8 MB, free: 252 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005944/0.1689, allocations: 4 kB / 378.8 MB, free: 248 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.1695, allocations: 67.3 kB / 378.9 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005399/0.17, allocations: 118.9 kB / 379 MB, free: 60 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3362/0.5062, allocations: 135.2 kB / 379.1 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.5074, allocations: 0.5116 MB / 379.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.5079, allocations: 168.8 kB / 379.8 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.5083, allocations: 198.4 kB / 380 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.5086, allocations: 209.8 kB / 380.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-05/0.5087, allocations: 48.19 kB / 380.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.5088, allocations: 45.44 kB / 380.3 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.509, allocations: 99.7 kB / 380.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.5094, allocations: 225.4 kB / 380.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.5104, allocations: 0.5248 MB / 381.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.5105, allocations: 0.5 kB / 381.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.5105, allocations: 0.5625 kB / 381.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.5105, allocations: 0 / 381.1 MB, free: 9.547 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.001894/0.5124, allocations: 0.7289 MB / 381.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.5125, allocations: 8.781 kB / 381.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.5126, allocations: 54.55 kB / 381.9 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.5133, allocations: 347.2 kB / 382.2 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.5133, allocations: 28.2 kB / 382.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.5134, allocations: 36.69 kB / 382.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.5143, allocations: 380.7 kB / 382.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.5144, allocations: 6.531 kB / 382.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.5144, allocations: 16.28 kB / 382.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.5144, allocations: 8.25 kB / 382.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.5151, allocations: 252.3 kB / 383 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.518, allocations: 1.464 MB / 384.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.5185, allocations: 245.6 kB / 384.7 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.5191, allocations: 163.1 kB / 384.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.5191, allocations: 3.078 kB / 384.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005917/0.5197, allocations: 240.1 kB / 385.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 3.656e-06/0.5197, allocations: 0.5625 kB / 385.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.00198/0.5217, allocations: 0.5791 MB / 385.6 MB, free: 7.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.5218, allocations: 108 kB / 385.7 MB, free: 7.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.5224, allocations: 304.2 kB / 386 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.5224, allocations: 37.3 kB / 386.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.5226, allocations: 220.5 kB / 386.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.5227, allocations: 104.7 kB / 386.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.5229, allocations: 71.75 kB / 386.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.523, allocations: 343.4 kB / 386.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.5233, allocations: 95.11 kB / 386.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.5236, allocations: 220.6 kB / 387.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.5241, allocations: 327.4 kB / 387.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.5241, allocations: 0 / 387.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009196/0.5251, allocations: 419 kB / 387.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.5251, allocations: 7.688 kB / 387.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.5251, allocations: 4.469 kB / 387.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/0.5256, allocations: 82.64 kB / 387.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.5259, allocations: 56.34 kB / 388 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.5281, allocations: 1.999 MB / 390 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.5284, allocations: 36.36 kB / 390 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.5285, allocations: 18.33 kB / 390 MB, free: 3.867 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.0002569/0.5287, allocations: 170.3 kB / 390.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.5288, allocations: 39.86 kB / 390.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.711e-05/0.5289, allocations: 34.34 kB / 390.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-06/0.5289, allocations: 7.5 kB / 390.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.5289, allocations: 1.688 kB / 390.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.529, allocations: 2.344 kB / 390.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.5298, allocations: 0.5717 MB / 390.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5298, allocations: 4.375 kB / 390.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.53, allocations: 28.59 kB / 390.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.5303, allocations: 79.36 kB / 391 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.5304, allocations: 11.95 kB / 391 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.5322, allocations: 1.995 MB / 393 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5322, allocations: 1.594 kB / 393 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.5334, allocations: 0.4932 MB / 393.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.5337, allocations: 140 kB / 393.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.5337, allocations: 16.48 kB / 393.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.5339, allocations: 14.28 kB / 393.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.5341, allocations: 24.17 kB / 393.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.5341, allocations: 8.672 kB / 393.7 MB, free: 1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.5345, allocations: 220 kB / 393.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5345, allocations: 0 / 393.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00117/0.5356, allocations: 105.4 kB / 394 MB, free: 0.8516 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.0002731/0.5359, allocations: 116.8 kB / 394.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.5374, allocations: 417.3 kB / 394.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5374, allocations: 1.125 kB / 394.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005995/0.538, allocations: 282.2 kB / 394.8 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.5386, allocations: 65.53 kB / 394.8 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.5406, allocations: 0.7154 MB / 395.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/0.5413, allocations: 0.8094 MB / 396.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.5415, allocations: 36.44 kB / 396.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.5416, allocations: 28.42 kB / 396.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of SimCode: time 1.213e-06/0.5416, allocations: 0 / 396.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of Templates: time 0.01432/0.556, allocations: 4.822 MB / 401.3 MB, free: 14.26 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)