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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 8 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1011, allocations: 44.5 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.5668, allocations: 85.16 MB / 393.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.5671, allocations: 90.2 kB / 393.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1029/0.6701, allocations: 28.17 MB / 422 MB, free: 5.266 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6701, allocations: 0 / 422 MB, free: 5.266 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001347/0.6703, allocations: 33.84 kB / 422 MB, free: 5.262 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005422/0.6757, allocations: 1.653 MB / 423.7 MB, free: 4.176 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.6758, allocations: 7.75 kB / 423.7 MB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006868/0.6765, allocations: 201.8 kB / 423.9 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.6769, allocations: 162.6 kB / 424 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.6828, allocations: 1.643 MB / 425.7 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.683, allocations: 102.9 kB / 425.8 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004453/0.6834, allocations: 125.9 kB / 425.9 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/0.6879, allocations: 1.725 MB / 427.6 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.462e-05/0.688, allocations: 3.984 kB / 427.6 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.6882, allocations: 51.19 kB / 427.7 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.204e-05/0.6883, allocations: 56.66 kB / 427.7 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00398/0.6922, allocations: 1.407 MB / 429.1 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.7032, allocations: 4.95 MB / 434.1 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/0.706, allocations: 1.082 MB / 435.2 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.889e-05/0.7061, allocations: 12.16 kB / 435.2 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.7076, allocations: 0.6066 MB / 435.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 8.486e-06/0.7077, allocations: 0 / 435.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=81): time 0.005783/0.7135, allocations: 1.665 MB / 437.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.7136, allocations: 134.6 kB / 437.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.7154, allocations: 0.784 MB / 438.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.7156, allocations: 57.56 kB / 438.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/0.7163, allocations: 0.5914 MB / 439 MB, free: 13.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.7167, allocations: 235.5 kB / 439.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.7168, allocations: 18.44 kB / 439.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.717, allocations: 347.3 kB / 439.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.7183, allocations: 452.1 kB / 440 MB, free: 12.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.7199, allocations: 0.6718 MB / 440.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.7213, allocations: 470.8 kB / 441.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.7213, allocations: 8 kB / 441.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003435/0.7247, allocations: 1.24 MB / 442.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001062/0.7258, allocations: 2.437 MB / 444.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.7259, allocations: 12 kB / 444.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009539/0.7269, allocations: 218.4 kB / 445.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.728, allocations: 151.7 kB / 445.2 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/0.7334, allocations: 2.828 MB / 448.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.7349, allocations: 155.2 kB / 448.2 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.735, allocations: 40.36 kB / 448.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.735, allocations: 4 kB / 448.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003185/0.7382, allocations: 1.165 MB / 449.4 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.7383, allocations: 4 kB / 449.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007434/0.739, allocations: 220.9 kB / 449.6 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.7401, allocations: 143.7 kB / 449.8 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005277/0.7454, allocations: 2.861 MB / 452.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.7465, allocations: 131.4 kB / 452.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.631e-05/0.7466, allocations: 35.98 kB / 452.8 MB, free: 15.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001463/0.7481, allocations: 0.6022 MB / 453.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.7484, allocations: 94.83 kB / 453.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.7488, allocations: 113.1 kB / 453.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.7488, allocations: 12 kB / 453.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.7488, allocations: 0 / 453.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.7489, allocations: 7.984 kB / 453.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006791/0.7557, allocations: 2.447 MB / 456.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.7557, allocations: 0 / 456.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/0.7565, allocations: 87.83 kB / 456.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007841/0.7573, allocations: 200.6 kB / 456.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.7574, allocations: 15.98 kB / 456.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005216/0.7626, allocations: 2.803 MB / 459.2 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7627, allocations: 0 / 459.2 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004531/0.7672, allocations: 1.694 MB / 460.9 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/0.768, allocations: 272 kB / 461.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.7682, allocations: 20 kB / 461.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009634/0.7692, allocations: 91.91 kB / 461.2 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004974/0.7697, allocations: 140.4 kB / 461.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.7698, allocations: 27.92 kB / 461.4 MB, free: 6.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001386/0.7712, allocations: 0.6044 MB / 462 MB, free: 5.762 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7712, allocations: 0 / 462 MB, free: 5.762 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002412/0.7737, allocations: 0.5722 MB / 462.6 MB, free: 5.188 MB / 346.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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005099/0.7788, allocations: 2.31 MB / 464.9 MB, free: 2.848 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005237/0.7841, allocations: 1.972 MB / 466.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.7841, allocations: 6 kB / 466.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.7859, allocations: 0.6701 MB / 467.5 MB, free: 168 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.7875, allocations: 183.1 kB / 467.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.7985, allocations: 7.861 MB / 475.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.8003, allocations: 1.374 MB / 477 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.8014, allocations: 447.9 kB / 477.4 MB, free: 6.109 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.8015, allocations: 0 / 477.4 MB, free: 6.109 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.162/3.963, allocations: 27.46 MB / 0.493 GB, free: 10.64 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL_res.mat does not exist to compare? outputFormat=mat