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_R.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_R,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004717, allocations: 11.98 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/0.08966, allocations: 44.51 MB / 308.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.4955, allocations: 81.65 MB / 390.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.4959, allocations: 86.23 kB / 390.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05744/0.5533, allocations: 12.09 MB / 402.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5534, allocations: 0 / 402.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.986e-05/0.5534, allocations: 11.5 kB / 402.4 MB, free: 12.85 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00268/0.5561, allocations: 0.8943 MB / 403.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.5562, allocations: 11.73 kB / 403.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.5564, allocations: 95.8 kB / 403.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.5567, allocations: 81.64 kB / 403.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.5578, allocations: 467.6 kB / 403.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.5579, allocations: 49.58 kB / 404 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.5581, allocations: 67.64 kB / 404 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.5602, allocations: 0.6152 MB / 404.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.5603, allocations: 0 / 404.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.5604, allocations: 30.58 kB / 404.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.5604, allocations: 19.45 kB / 404.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.5623, allocations: 471.4 kB / 405.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006006/0.5684, allocations: 2.194 MB / 407.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.5702, allocations: 467.5 kB / 407.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.5703, allocations: 4.203 kB / 407.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009132/0.5712, allocations: 302.3 kB / 408.1 MB, free: 9.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.557e-06/0.5712, allocations: 3.906 kB / 408.1 MB, free: 9.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003317/0.5746, allocations: 0.7276 MB / 408.8 MB, free: 9.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.5747, allocations: 118 kB / 409 MB, free: 9.562 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/0.5756, allocations: 411 kB / 409.4 MB, free: 9.406 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.5757, allocations: 40.59 kB / 409.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.576, allocations: 349.1 kB / 409.7 MB, free: 9.125 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5762, allocations: 123.4 kB / 409.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.5763, allocations: 11.28 kB / 409.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.5764, allocations: 336.8 kB / 410.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007246/0.5771, allocations: 168.5 kB / 410.4 MB, free: 8.695 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008516/0.578, allocations: 331.2 kB / 410.7 MB, free: 8.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/0.5788, allocations: 183.8 kB / 410.9 MB, free: 8.465 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5788, allocations: 4 kB / 410.9 MB, free: 8.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002045/0.5809, allocations: 0.5534 MB / 411.4 MB, free: 8.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004098/0.5813, allocations: 1.576 MB / 413 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5813, allocations: 3.844 kB / 413 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.582, allocations: 86.62 kB / 413.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.5828, allocations: 80.58 kB / 413.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.5854, allocations: 1.867 MB / 415 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/0.5862, allocations: 91.23 kB / 415.1 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.5863, allocations: 22.67 kB / 415.2 MB, free: 5.125 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.5863, allocations: 3.875 kB / 415.2 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/0.5875, allocations: 0.4906 MB / 415.6 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5875, allocations: 3.875 kB / 415.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/0.5879, allocations: 81.38 kB / 415.7 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.5884, allocations: 86.02 kB / 415.8 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.5906, allocations: 1.837 MB / 417.7 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.5911, allocations: 61.34 kB / 417.7 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.5912, allocations: 25.69 kB / 417.7 MB, free: 3.523 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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004812/0.5917, allocations: 301.2 kB / 418 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.5918, allocations: 50.48 kB / 418.1 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.592, allocations: 61.78 kB / 418.1 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.592, allocations: 3.875 kB / 418.1 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.592, allocations: 4 kB / 418.1 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.592, allocations: 4 kB / 418.2 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.5943, allocations: 1.142 MB / 419.3 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5943, allocations: 7.812 kB / 419.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.5947, allocations: 42.03 kB / 419.3 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.595, allocations: 82.72 kB / 419.4 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.5951, allocations: 11.05 kB / 419.4 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.5973, allocations: 1.761 MB / 421.2 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5973, allocations: 8.016 kB / 421.2 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.5991, allocations: 0.7411 MB / 421.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.5994, allocations: 171.2 kB / 422.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.5995, allocations: 14.16 kB / 422.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/0.6001, allocations: 43.95 kB / 422.2 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.6003, allocations: 53.42 kB / 422.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.6003, allocations: 10.59 kB / 422.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006395/0.601, allocations: 322.8 kB / 422.5 MB, free: 16.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.601, allocations: 0 / 422.5 MB, free: 16.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001193/0.6022, allocations: 275.5 kB / 422.8 MB, free: 16.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002203/0.6044, allocations: 1.321 MB / 424.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.6067, allocations: 0.9827 MB / 425.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.6067, allocations: 0 / 425.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.6075, allocations: 357.6 kB / 425.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.6082, allocations: 85.58 kB / 425.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.6127, allocations: 4.295 MB / 429.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.6134, allocations: 0.9072 MB / 430.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.6138, allocations: 211.5 kB / 431 MB, free: 10.74 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6138, allocations: 0 / 431 MB, free: 10.74 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3/3.613, allocations: 11.62 MB / 442.6 MB, free: 4.969 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_R_res.mat does not exist to compare? outputFormat=mat