Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 1.542/1.542, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007209/0.000721, allocations: 8 kB / 233.2 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1269, allocations: 38.77 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/0.4132, allocations: 69.85 MB / 341.9 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4135, allocations: 70.09 kB / 341.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02044/0.4339, allocations: 4.717 MB / 346.6 MB, free: 24 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.602e-06/0.434, allocations: 0 / 346.6 MB, free: 24 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.434, allocations: 4 kB / 346.6 MB, free: 20 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001566/0.4356, allocations: 0.6493 MB / 347.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4356, allocations: 8.031 kB / 347.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.4358, allocations: 35.61 kB / 347.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.4362, allocations: 252.2 kB / 347.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.4362, allocations: 27.33 kB / 347.6 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.4363, allocations: 15.5 kB / 347.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009908/0.4373, allocations: 322.7 kB / 347.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4373, allocations: 0 / 347.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.4374, allocations: 14.12 kB / 348 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1e-05/0.4374, allocations: 4 kB / 348 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.4387, allocations: 338.1 kB / 348.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.4412, allocations: 1.019 MB / 349.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/0.4451, allocations: 0.6261 MB / 349.9 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.4452, allocations: 4 kB / 349.9 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008664/0.4461, allocations: 260.7 kB / 350.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.132e-06/0.4461, allocations: 3.938 kB / 350.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.002042/0.4482, allocations: 0.5295 MB / 350.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.4483, allocations: 85.11 kB / 350.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.4486, allocations: 206.7 kB / 351 MB, free: 12.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.4487, allocations: 33.27 kB / 351 MB, free: 12.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.4488, allocations: 210 kB / 351.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.4489, allocations: 72.42 kB / 351.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.449, allocations: 3.875 kB / 351.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4492, allocations: 322.2 kB / 351.6 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.4498, allocations: 167.9 kB / 351.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/0.4505, allocations: 195.2 kB / 352 MB, free: 11.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.4512, allocations: 189.6 kB / 352.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.122e-06/0.4512, allocations: 0 / 352.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00151/0.4527, allocations: 440.4 kB / 352.6 MB, free: 10.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.4528, allocations: 40.56 kB / 352.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.477e-06/0.4528, allocations: 4 kB / 352.7 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4528, allocations: 0 / 352.7 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.4556, allocations: 335.6 kB / 353 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006713/0.4623, allocations: 3.271 MB / 356.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.4629, allocations: 66.97 kB / 356.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.463, allocations: 14.86 kB / 356.3 MB, free: 6.77 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002484/0.4632, allocations: 144.9 kB / 356.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.4633, allocations: 27.67 kB / 356.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.4634, allocations: 27.3 kB / 356.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.383e-06/0.4634, allocations: 8 kB / 356.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.319e-06/0.4634, allocations: 0 / 356.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.754e-06/0.4634, allocations: 0 / 356.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.464, allocations: 351.6 kB / 356.9 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.08e-06/0.464, allocations: 7.922 kB / 356.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/0.4667, allocations: 327.6 kB / 357.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-06/0.4667, allocations: 0 / 357.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.4668, allocations: 7.672 kB / 357.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006523/0.4733, allocations: 3.273 MB / 360.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.711e-06/0.4734, allocations: 4.188 kB / 360.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.4755, allocations: 0.5997 MB / 361.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.4757, allocations: 125.3 kB / 361.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.4758, allocations: 7.484 kB / 361.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.4763, allocations: 60 kB / 361.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4764, allocations: 26.72 kB / 361.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.4765, allocations: 11.98 kB / 361.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.4767, allocations: 168.3 kB / 361.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.4767, allocations: 0 / 361.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006156/0.4773, allocations: 87.28 kB / 361.6 MB, free: 1.566 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002057/0.4776, allocations: 115.8 kB / 361.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003452/0.481, allocations: 0.6437 MB / 362.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.945e-06/0.4811, allocations: 0 / 362.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002719/0.4838, allocations: 419.4 kB / 362.7 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.4842, allocations: 42.94 kB / 362.8 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.4863, allocations: 0.7333 MB / 363.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.4868, allocations: 0.7599 MB / 364.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4869, allocations: 23.06 kB / 364.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of SimCode: time 1.567e-06/0.4869, allocations: 0 / 364.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of Templates: time 0.01041/0.4973, allocations: 5.185 MB / 369.5 MB, free: 9.777 MB / 298.7 MB "Error: Could not read variable pulseCurrent.signalSource.T_start in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat. Warning: Get data of variable pulseCurrent.signalSource.T_start from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat failed! Error: Could not read variable pulseCurrent.signalSource.T_width in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat. Warning: Get data of variable pulseCurrent.signalSource.T_width from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat failed! Error: Could not read variable pulseCurrent.signalSource.count in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat. Warning: Get data of variable pulseCurrent.signalSource.count from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat failed! Error: Could not read variable sineVoltage.signalSource.pi in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat. Warning: Get data of variable sineVoltage.signalSource.pi from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat failed! Error: Could not read variable thyristor_v4_1.Roff in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat. Warning: Get data of variable thyristor_v4_1.Roff from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat failed! Error: Could not read variable thyristor_v4_1.Ron in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat. Warning: Get data of variable thyristor_v4_1.Ron from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat failed! Error: Could not read variable thyristor_v4_1.Voff in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat. Warning: Get data of variable thyristor_v4_1.Voff from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat failed! Error: Could not read variable thyristor_v4_1.Von in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat. Warning: Get data of variable thyristor_v4_1.Von from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat failed! " Variables in the reference:time,inductor.i,thyristor_v4_1.vControl Variables in the result:ground.p.i,ground.p.v,inductor.L,der(inductor.i),inductor.i,inductor.n.i,inductor.n.v,inductor.p.i,inductor.p.v,inductor.v,pulseCurrent.I,pulseCurrent.i,pulseCurrent.n.i,pulseCurrent.n.v,pulseCurrent.offset,pulseCurrent.p.i,pulseCurrent.p.v,pulseCurrent.period,pulseCurrent.signalSource.amplitude,pulseCurrent.signalSource.nperiod,pulseCurrent.signalSource.offset,pulseCurrent.signalSource.period,pulseCurrent.signalSource.startTime,pulseCurrent.signalSource.width,pulseCurrent.signalSource.y,pulseCurrent.startTime,pulseCurrent.v,pulseCurrent.width,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.v,sineVoltage.V,sineVoltage.freqHz,sineVoltage.i,sineVoltage.n.i,sineVoltage.n.v,sineVoltage.offset,sineVoltage.p.i,sineVoltage.p.v,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.signalSource.y,sineVoltage.startTime,sineVoltage.v,thyristor_v4_1.Anode.i,thyristor_v4_1.Anode.v,thyristor_v4_1.Cathode.i,thyristor_v4_1.Cathode.v,thyristor_v4_1.Gate.i,thyristor_v4_1.Gate.v,thyristor_v4_1.IDRM,thyristor_v4_1.IGT,thyristor_v4_1.IH,thyristor_v4_1.ITM,thyristor_v4_1.LossPower,thyristor_v4_1.Nbv,thyristor_v4_1.T,thyristor_v4_1.TOFF,thyristor_v4_1.TON,thyristor_v4_1.T_heatPort,thyristor_v4_1.VDRM,thyristor_v4_1.VGT,thyristor_v4_1.VRRM,thyristor_v4_1.VTM,thyristor_v4_1.Vt,der(thyristor_v4_1.vControl),thyristor_v4_1.iGK,thyristor_v4_1.vAK,thyristor_v4_1.vConmain,thyristor_v4_1.vContot,thyristor_v4_1.vControl,thyristor_v4_1.vGK,time