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_RL.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_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 12 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.09033, allocations: 44.5 MB / 308.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.4861, allocations: 81.96 MB / 390.5 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.4865, allocations: 87.42 kB / 390.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04513/0.5316, allocations: 12.43 MB / 403 MB, free: 12.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5317, allocations: 0 / 403 MB, free: 12.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.673e-05/0.5317, allocations: 11.59 kB / 403 MB, free: 12.62 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002068/0.5338, allocations: 0.9148 MB / 404 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5338, allocations: 11.59 kB / 404 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.534, allocations: 100.2 kB / 404.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.5342, allocations: 81.66 kB / 404.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008407/0.535, allocations: 473 kB / 404.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.5351, allocations: 51.89 kB / 404.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5352, allocations: 59.31 kB / 404.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.5367, allocations: 0.6364 MB / 405.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.5368, allocations: 3.984 kB / 405.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/0.5369, allocations: 28.12 kB / 405.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5369, allocations: 11.75 kB / 405.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.5382, allocations: 483.8 kB / 405.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.5426, allocations: 2.288 MB / 408.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.5439, allocations: 474.5 kB / 408.6 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.544, allocations: 7.359 kB / 408.6 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006697/0.5447, allocations: 307.7 kB / 408.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.685e-06/0.5447, allocations: 0 / 408.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.002313/0.547, allocations: 0.7455 MB / 409.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.5471, allocations: 117.6 kB / 409.8 MB, free: 9.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006695/0.5478, allocations: 412.5 kB / 410.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.5478, allocations: 44.98 kB / 410.2 MB, free: 9.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.548, allocations: 338.9 kB / 410.6 MB, free: 8.816 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.5482, allocations: 136.1 kB / 410.7 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.5482, allocations: 9.625 kB / 410.7 MB, free: 8.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.5483, allocations: 341.2 kB / 411 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.5489, allocations: 177 kB / 411.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.5495, allocations: 330 kB / 411.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.5501, allocations: 198.6 kB / 411.7 MB, free: 8.141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5501, allocations: 3.938 kB / 411.7 MB, free: 8.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001433/0.5515, allocations: 0.5753 MB / 412.3 MB, free: 7.988 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.5519, allocations: 1.578 MB / 413.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5519, allocations: 3.875 kB / 413.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/0.5523, allocations: 83.88 kB / 414 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.5529, allocations: 92.36 kB / 414.1 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.555, allocations: 1.789 MB / 415.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.5558, allocations: 89.92 kB / 415.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.5559, allocations: 21.78 kB / 416 MB, free: 4.812 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5559, allocations: 3.875 kB / 416 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/0.5571, allocations: 0.4995 MB / 416.5 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.5571, allocations: 3.812 kB / 416.5 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.5575, allocations: 85.58 kB / 416.6 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.558, allocations: 77.31 kB / 416.6 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.5601, allocations: 1.779 MB / 418.4 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.5606, allocations: 81.28 kB / 418.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.5606, allocations: 18.88 kB / 418.5 MB, free: 3.219 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 (60): * Single equations (assignments): 59 * 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.0004812/0.5611, allocations: 310.6 kB / 418.8 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.5613, allocations: 46.59 kB / 418.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.5614, allocations: 61.5 kB / 418.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.5614, allocations: 7.844 kB / 418.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5615, allocations: 0 / 418.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.5615, allocations: 3.984 kB / 418.9 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.5637, allocations: 1.159 MB / 420.1 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5637, allocations: 0 / 420.1 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.5641, allocations: 50.19 kB / 420.1 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/0.5644, allocations: 73.86 kB / 420.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.5645, allocations: 10.52 kB / 420.2 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.5665, allocations: 1.79 MB / 422 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5666, allocations: 3.875 kB / 422 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.5683, allocations: 0.7589 MB / 422.8 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.5686, allocations: 176 kB / 422.9 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5687, allocations: 11 kB / 423 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/0.5692, allocations: 54.17 kB / 423 MB, free: 16.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.5694, allocations: 49.33 kB / 423.1 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.5695, allocations: 11.34 kB / 423.1 MB, free: 16.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005628/0.57, allocations: 325.5 kB / 423.4 MB, free: 16.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5701, allocations: 0 / 423.4 MB, free: 16.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001218/0.5713, allocations: 273.5 kB / 423.6 MB, free: 16.34 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 (38): * Single equations (assignments): 32 * 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.002135/0.5734, allocations: 1.331 MB / 425 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.5756, allocations: 0.9829 MB / 426 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5757, allocations: 0 / 426 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000718/0.5764, allocations: 359.7 kB / 426.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.5771, allocations: 76.14 kB / 426.4 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.5817, allocations: 4.428 MB / 430.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.5823, allocations: 0.9178 MB / 431.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.5828, allocations: 214.3 kB / 431.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5828, allocations: 0 / 431.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.111/3.694, allocations: 11.92 MB / 443.9 MB, free: 4.348 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_RL_res.mat does not exist to compare? outputFormat=mat