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.CharacteristicThyristors.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 1.614/1.614, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 8 kB / 233.2 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06938/0.06975, allocations: 38.78 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.3563, allocations: 69.77 MB / 341.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.3566, allocations: 75.89 kB / 341.9 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02757/0.3842, allocations: 6.991 MB / 348.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3842, allocations: 0 / 348.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.3843, allocations: 8 kB / 348.8 MB, free: 14.11 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001474/0.3858, allocations: 0.7726 MB / 349.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3858, allocations: 8.031 kB / 349.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.386, allocations: 58.47 kB / 349.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.3865, allocations: 318.8 kB / 350 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.3866, allocations: 31.5 kB / 350 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.3867, allocations: 38.14 kB / 350.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/0.3876, allocations: 420.3 kB / 350.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3877, allocations: 4 kB / 350.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.3877, allocations: 13.75 kB / 350.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.3878, allocations: 8 kB / 350.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/0.3886, allocations: 312.9 kB / 350.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.3918, allocations: 1.65 MB / 352.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.3925, allocations: 326 kB / 352.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.3926, allocations: 4.281 kB / 352.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005865/0.3932, allocations: 278.5 kB / 353.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 3.425e-06/0.3932, allocations: 0 / 353.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.002916/0.3961, allocations: 1.137 MB / 354.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.3963, allocations: 217.1 kB / 354.4 MB, free: 9.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.3968, allocations: 294.5 kB / 354.7 MB, free: 8.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.3969, allocations: 36.89 kB / 354.7 MB, free: 8.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3971, allocations: 257.8 kB / 355 MB, free: 8.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.3972, allocations: 115.9 kB / 355.1 MB, free: 8.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.3972, allocations: 7.188 kB / 355.1 MB, free: 8.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3974, allocations: 334.2 kB / 355.4 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.3978, allocations: 117.4 kB / 355.5 MB, free: 8.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.3982, allocations: 184.5 kB / 355.7 MB, free: 7.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.3986, allocations: 182.8 kB / 355.9 MB, free: 7.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.075e-06/0.3987, allocations: 0 / 355.9 MB, free: 7.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001166/0.3998, allocations: 0.4977 MB / 356.4 MB, free: 7.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.486e-05/0.3999, allocations: 66.7 kB / 356.5 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.758e-06/0.3999, allocations: 4.062 kB / 356.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.4006, allocations: 149.3 kB / 356.6 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.4009, allocations: 43.84 kB / 356.7 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006915/0.4078, allocations: 5.998 MB / 362.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.4084, allocations: 58.75 kB / 362.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.4085, allocations: 10.88 kB / 362.7 MB, free: 0.9609 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003759/0.4089, allocations: 209.5 kB / 362.9 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.409, allocations: 39.53 kB / 363 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.674e-05/0.4091, allocations: 49.81 kB / 363 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-06/0.4091, allocations: 192 / 363 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4091, allocations: 8 kB / 363 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.792e-06/0.4091, allocations: 3.984 kB / 363 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.4098, allocations: 443.6 kB / 363.5 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.962e-06/0.4098, allocations: 0 / 363.5 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.41, allocations: 31.92 kB / 363.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006179/0.4106, allocations: 155.5 kB / 363.6 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.4107, allocations: 3.562 kB / 363.6 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006601/0.4173, allocations: 5.833 MB / 369.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4173, allocations: 0 / 369.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.4188, allocations: 0.55 MB / 370 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.419, allocations: 143.9 kB / 370.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.4191, allocations: 11.73 kB / 370.2 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.4195, allocations: 31.86 kB / 370.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.4197, allocations: 54.84 kB / 370.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.4198, allocations: 12 kB / 370.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003433/0.4201, allocations: 236.7 kB / 370.5 MB, free: 9.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.263e-06/0.4201, allocations: 0 / 370.5 MB, free: 9.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001031/0.4212, allocations: 170.4 kB / 370.7 MB, free: 9.168 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulsStart) * Number of discrete states: 6 (IdealThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002908/0.4215, allocations: 139.1 kB / 370.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.4231, allocations: 0.9063 MB / 371.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.4231, allocations: 4 kB / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4241, allocations: 0.7164 MB / 372.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.4247, allocations: 86.19 kB / 372.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.4264, allocations: 0.9108 MB / 373.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.427, allocations: 0.8278 MB / 374.3 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/0.4271, allocations: 27.42 kB / 374.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.699e-06/0.4271, allocations: 4 kB / 374.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of Templates: time 0.01789/0.445, allocations: 10.98 MB / 385.3 MB, free: 10.74 MB / 314.7 MB "Error: Could not read variable IdealGTOThyristor1.s in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable IdealGTOThyristor1.s from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable IdealGTOThyristor2.s in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable IdealGTOThyristor2.s from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable IdealThyristor1.s in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable IdealThyristor1.s from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable IdealThyristor2.s in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable IdealThyristor2.s from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable SineVoltage1.signalSource.pi in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable SineVoltage1.signalSource.pi from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable _derdummy in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable _derdummy from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable _dummy in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable _dummy from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable booleanStep1.index in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable booleanStep1.index from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable booleanStep1.n in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable booleanStep1.n from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable booleanStep1.nextTime in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable booleanStep1.nextTime from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! " Variables in the reference:time,IdealThyristor1.off,IdealThyristor2.off,booleanStep1.y Variables in the result:Ground1.p.i,Ground1.p.v,IdealGTOThyristor1.Goff,IdealGTOThyristor1.LossPower,IdealGTOThyristor1.Ron,IdealGTOThyristor1.T,IdealGTOThyristor1.T_heatPort,IdealGTOThyristor1.Vknee,IdealGTOThyristor1.fire,IdealGTOThyristor1.i,IdealGTOThyristor1.n.i,IdealGTOThyristor1.n.v,IdealGTOThyristor1.off,IdealGTOThyristor1.p.i,IdealGTOThyristor1.p.v,IdealGTOThyristor1.v,IdealGTOThyristor2.Goff,IdealGTOThyristor2.LossPower,IdealGTOThyristor2.Ron,IdealGTOThyristor2.T,IdealGTOThyristor2.T_heatPort,IdealGTOThyristor2.Vknee,IdealGTOThyristor2.fire,IdealGTOThyristor2.i,IdealGTOThyristor2.n.i,IdealGTOThyristor2.n.v,IdealGTOThyristor2.off,IdealGTOThyristor2.p.i,IdealGTOThyristor2.p.v,IdealGTOThyristor2.v,IdealThyristor1.Goff,IdealThyristor1.LossPower,IdealThyristor1.Ron,IdealThyristor1.T,IdealThyristor1.T_heatPort,IdealThyristor1.Vknee,IdealThyristor1.fire,IdealThyristor1.i,IdealThyristor1.n.i,IdealThyristor1.n.v,IdealThyristor1.off,IdealThyristor1.p.i,IdealThyristor1.p.v,IdealThyristor1.v,IdealThyristor2.Goff,IdealThyristor2.LossPower,IdealThyristor2.Ron,IdealThyristor2.T,IdealThyristor2.T_heatPort,IdealThyristor2.Vknee,IdealThyristor2.fire,IdealThyristor2.i,IdealThyristor2.n.i,IdealThyristor2.n.v,IdealThyristor2.off,IdealThyristor2.p.i,IdealThyristor2.p.v,IdealThyristor2.v,R1.LossPower,R1.R,R1.R_actual,R1.T,R1.T_heatPort,R1.T_ref,R1.alpha,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.v,R2.LossPower,R2.R,R2.R_actual,R2.T,R2.T_heatPort,R2.T_ref,R2.alpha,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.v,R3.LossPower,R3.R,R3.R_actual,R3.T,R3.T_heatPort,R3.T_ref,R3.alpha,R3.i,R3.n.i,R3.n.v,R3.p.i,R3.p.v,R3.v,R4.LossPower,R4.R,R4.R_actual,R4.T,R4.T_heatPort,R4.T_ref,R4.alpha,R4.i,R4.n.i,R4.n.v,R4.p.i,R4.p.v,R4.v,SineVoltage1.V,SineVoltage1.freqHz,SineVoltage1.i,SineVoltage1.n.i,SineVoltage1.n.v,SineVoltage1.offset,SineVoltage1.p.i,SineVoltage1.p.v,SineVoltage1.phase,SineVoltage1.signalSource.amplitude,SineVoltage1.signalSource.freqHz,SineVoltage1.signalSource.offset,SineVoltage1.signalSource.phase,SineVoltage1.signalSource.startTime,SineVoltage1.signalSource.y,SineVoltage1.startTime,SineVoltage1.v,booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,booleanStep1.startValue,booleanStep1.table[1],booleanStep1.table[2],booleanStep1.table[3],booleanStep1.table[4],booleanStep1.table[5],booleanStep1.table[6],booleanStep1.y,time