Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.248/2.248, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 12 kB / 264.6 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.11, allocations: 44.5 MB / 309.1 MB, free: 340 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5554/0.6655, allocations: 82.41 MB / 391.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.6658, allocations: 99.58 kB / 391.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06883/0.7347, allocations: 12.82 MB / 404.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7347, allocations: 0 / 404.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.369e-05/0.7348, allocations: 19.53 kB / 404.4 MB, free: 12.68 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.00374/0.7386, allocations: 0.9469 MB / 405.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.7387, allocations: 7.844 kB / 405.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.7392, allocations: 84.38 kB / 405.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.7409, allocations: 475.5 kB / 405.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.7411, allocations: 50.34 kB / 406 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/0.7414, allocations: 61.12 kB / 406 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.7443, allocations: 0.6799 MB / 406.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.176e-05/0.7444, allocations: 8.25 kB / 406.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.7445, allocations: 26.3 kB / 406.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.7446, allocations: 15.56 kB / 406.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.7473, allocations: 0.5281 MB / 407.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007903/0.7553, allocations: 2.326 MB / 409.6 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.7584, allocations: 0.5726 MB / 410.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.943e-05/0.7585, allocations: 8.188 kB / 410.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/0.76, allocations: 356.6 kB / 410.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 5.901e-06/0.7601, allocations: 0 / 410.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.004633/0.7647, allocations: 0.8694 MB / 411.4 MB, free: 9.383 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.7649, allocations: 114.9 kB / 411.5 MB, free: 9.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.766, allocations: 459 kB / 412 MB, free: 9.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.7662, allocations: 39.83 kB / 412 MB, free: 9.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.7666, allocations: 308.5 kB / 412.3 MB, free: 8.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.7669, allocations: 152.7 kB / 412.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.767, allocations: 10.5 kB / 412.5 MB, free: 8.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7671, allocations: 366 kB / 412.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.7683, allocations: 200.6 kB / 413 MB, free: 8.387 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.7696, allocations: 354.7 kB / 413.4 MB, free: 8.172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.7708, allocations: 222.8 kB / 413.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.7708, allocations: 3.906 kB / 413.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002946/0.7738, allocations: 0.6483 MB / 414.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.774, allocations: 207.6 kB / 414.4 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.7741, allocations: 3.812 kB / 414.4 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.7747, allocations: 85.38 kB / 414.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.7757, allocations: 105.5 kB / 414.6 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/0.7793, allocations: 1.782 MB / 416.4 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.7805, allocations: 84.72 kB / 416.5 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.7807, allocations: 22.48 kB / 416.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.7808, allocations: 7.25 kB / 416.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002426/0.7832, allocations: 0.5367 MB / 417 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.7833, allocations: 7.875 kB / 417.1 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/0.7838, allocations: 86.95 kB / 417.1 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/0.7847, allocations: 92.61 kB / 417.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.7881, allocations: 1.799 MB / 419 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.7894, allocations: 72.72 kB / 419.1 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.7895, allocations: 22.91 kB / 419.1 MB, free: 4.574 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007535/0.7903, allocations: 303.7 kB / 419.4 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.7905, allocations: 58.78 kB / 419.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.7908, allocations: 63.81 kB / 419.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.7908, allocations: 7.688 kB / 419.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.7908, allocations: 0 / 419.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.7909, allocations: 3.984 kB / 419.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/0.7954, allocations: 1.275 MB / 420.8 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.7955, allocations: 0 / 420.8 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008287/0.7963, allocations: 65.98 kB / 420.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005875/0.797, allocations: 70.97 kB / 421 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.7971, allocations: 15.69 kB / 421 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.8006, allocations: 1.804 MB / 422.8 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8006, allocations: 4.062 kB / 422.8 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003775/0.8044, allocations: 0.8852 MB / 423.7 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/0.805, allocations: 179.2 kB / 423.8 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.8052, allocations: 14.8 kB / 423.9 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008661/0.806, allocations: 57.66 kB / 423.9 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.8063, allocations: 53.8 kB / 424 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.484e-05/0.8064, allocations: 14.64 kB / 424 MB, free: 1.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007096/0.8071, allocations: 303.4 kB / 424.3 MB, free: 1.676 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.8072, allocations: 0 / 424.3 MB, free: 1.676 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002005/0.8092, allocations: 300.5 kB / 424.6 MB, free: 1.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002447/0.8094, allocations: 132 kB / 424.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.8122, allocations: 1.071 MB / 425.8 MB, free: 1.125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8123, allocations: 0 / 425.8 MB, free: 1.125 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009595/0.8133, allocations: 408.3 kB / 426.2 MB, free: 0.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.814, allocations: 75.28 kB / 426.2 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.817, allocations: 1.451 MB / 427.7 MB, free: 48 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/0.8178, allocations: 0.9356 MB / 428.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000623/0.8185, allocations: 89.16 kB / 428.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.8186, allocations: 36.22 kB / 428.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8187, allocations: 3.188 kB / 428.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of Templates: time 0.02258/0.8412, allocations: 7.44 MB / 436.2 MB, free: 11.6 MB / 330.7 MB