Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 15.98 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.11, allocations: 44.51 MB / 308.6 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4182/0.5283, allocations: 82.2 MB / 390.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.5286, allocations: 86.81 kB / 390.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04891/0.5775, allocations: 12.7 MB / 403.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5776, allocations: 0 / 403.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.799e-05/0.5777, allocations: 15.5 kB / 403.6 MB, free: 12.11 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002371/0.58, allocations: 0.9268 MB / 404.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.5801, allocations: 7.75 kB / 404.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/0.5804, allocations: 106 kB / 404.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.5806, allocations: 77.75 kB / 404.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.5816, allocations: 493 kB / 405.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.5816, allocations: 45.98 kB / 405.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.5818, allocations: 64.09 kB / 405.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.5834, allocations: 0.6461 MB / 405.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.5835, allocations: 11.67 kB / 405.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/0.5836, allocations: 32.38 kB / 406 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.5836, allocations: 19.5 kB / 406 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.5851, allocations: 493.7 kB / 406.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005088/0.5902, allocations: 2.331 MB / 408.8 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.5917, allocations: 484.6 kB / 409.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.5918, allocations: 7.891 kB / 409.3 MB, free: 9.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007324/0.5925, allocations: 312.6 kB / 409.6 MB, free: 9.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.727e-06/0.5925, allocations: 0 / 409.6 MB, free: 9.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.002521/0.5951, allocations: 0.75 MB / 410.3 MB, free: 8.828 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.5952, allocations: 115.1 kB / 410.4 MB, free: 8.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/0.596, allocations: 427 kB / 410.9 MB, free: 8.543 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-05/0.5961, allocations: 39.64 kB / 410.9 MB, free: 8.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.5963, allocations: 349.8 kB / 411.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.5965, allocations: 149.8 kB / 411.4 MB, free: 8.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.5965, allocations: 10.88 kB / 411.4 MB, free: 8.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.5966, allocations: 331.1 kB / 411.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.5972, allocations: 179.5 kB / 411.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.5979, allocations: 339.1 kB / 412.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.5985, allocations: 202.8 kB / 412.4 MB, free: 7.578 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.5985, allocations: 4 kB / 412.4 MB, free: 7.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00151/0.6, allocations: 0.5703 MB / 413 MB, free: 7.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003314/0.6004, allocations: 1.581 MB / 414.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6004, allocations: 3.844 kB / 414.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004626/0.6009, allocations: 75.98 kB / 414.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/0.6015, allocations: 96.91 kB / 414.7 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.6038, allocations: 1.789 MB / 416.5 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008473/0.6047, allocations: 89.55 kB / 416.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.6048, allocations: 23.25 kB / 416.6 MB, free: 4.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6048, allocations: 7.828 kB / 416.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001308/0.6061, allocations: 0.5012 MB / 417.2 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6062, allocations: 3.812 kB / 417.2 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/0.6065, allocations: 88.28 kB / 417.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.6071, allocations: 85.8 kB / 417.3 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.6093, allocations: 1.776 MB / 419.1 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.6099, allocations: 64.97 kB / 419.2 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.61, allocations: 27.3 kB / 419.2 MB, free: 2.66 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 (61): * Single equations (assignments): 60 * 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.0005191/0.6105, allocations: 303.8 kB / 419.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.6106, allocations: 62.42 kB / 419.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.6108, allocations: 56.83 kB / 419.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6108, allocations: 3.875 kB / 419.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6108, allocations: 0 / 419.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.6109, allocations: 7.797 kB / 419.6 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.6133, allocations: 1.19 MB / 420.8 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6134, allocations: 256 / 420.8 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.6138, allocations: 50.34 kB / 420.9 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000339/0.6141, allocations: 77.22 kB / 420.9 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.6142, allocations: 14.48 kB / 420.9 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.6165, allocations: 1.787 MB / 422.7 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6166, allocations: 3.938 kB / 422.7 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.6185, allocations: 0.7703 MB / 423.5 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.6188, allocations: 172.4 kB / 423.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.619, allocations: 10.88 kB / 423.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.6195, allocations: 43.06 kB / 423.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.6198, allocations: 47.05 kB / 423.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.6198, allocations: 18.89 kB / 423.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006463/0.6205, allocations: 332.7 kB / 424.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6205, allocations: 0 / 424.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001412/0.6219, allocations: 295.4 kB / 424.4 MB, free: 15.76 MB / 330.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 (39): * Single equations (assignments): 33 * 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.00235/0.6243, allocations: 1.344 MB / 425.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.6268, allocations: 0.9937 MB / 426.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.6269, allocations: 0 / 426.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000826/0.6277, allocations: 358.7 kB / 427.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.6285, allocations: 90.27 kB / 427.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/0.6341, allocations: 4.473 MB / 431.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.6348, allocations: 0.9216 MB / 432.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.6353, allocations: 221.6 kB / 432.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6353, allocations: 0 / 432.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.01/3.645, allocations: 12.21 MB / 445 MB, free: 3.121 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat