Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 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.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 194.9 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1095, allocations: 44.49 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5384, allocations: 74.83 MB / 383.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/0.5389, allocations: 74.28 kB / 383.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04468/0.5836, allocations: 7.019 MB / 390.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.5837, allocations: 3.812 kB / 390.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.795e-05/0.5838, allocations: 7.719 kB / 390.9 MB, free: 14.04 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.002621/0.5864, allocations: 0.7799 MB / 391.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.5865, allocations: 7.656 kB / 391.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.5868, allocations: 58.09 kB / 391.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.5876, allocations: 315.3 kB / 392 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.5877, allocations: 33.91 kB / 392.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.5879, allocations: 34 kB / 392.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.5896, allocations: 423.4 kB / 392.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.5897, allocations: 0 / 392.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.5898, allocations: 20.28 kB / 392.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.5898, allocations: 7.875 kB / 392.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.5915, allocations: 306.4 kB / 392.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005417/0.5969, allocations: 1.642 MB / 394.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/0.5978, allocations: 337.4 kB / 394.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.5979, allocations: 4.156 kB / 394.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005961/0.5985, allocations: 278.9 kB / 395.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.846e-06/0.5985, allocations: 0 / 395.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.003466/0.602, allocations: 1.131 MB / 396.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.6021, allocations: 217.4 kB / 396.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.6026, allocations: 328.1 kB / 396.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/0.6027, allocations: 36.39 kB / 396.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.6029, allocations: 260.4 kB / 397.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.603, allocations: 124.6 kB / 397.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.603, allocations: 5.5 kB / 397.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.6031, allocations: 331.2 kB / 397.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.6035, allocations: 124.8 kB / 397.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/0.604, allocations: 187.2 kB / 397.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.6044, allocations: 178.5 kB / 398 MB, free: 10.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6044, allocations: 4 kB / 398 MB, free: 10.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001251/0.6057, allocations: 0.4923 MB / 398.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.6057, allocations: 61.66 kB / 398.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6058, allocations: 0 / 398.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008313/0.6066, allocations: 162.4 kB / 398.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.6069, allocations: 37.89 kB / 398.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006078/0.613, allocations: 5.994 MB / 404.7 MB, free: 20.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006864/0.6138, allocations: 54.67 kB / 404.8 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.6138, allocations: 14.25 kB / 404.8 MB, free: 20.65 MB / 330.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.0003812/0.6142, allocations: 195.2 kB / 405 MB, free: 20.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.6143, allocations: 42.91 kB / 405 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.6144, allocations: 46.12 kB / 405.1 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6145, allocations: 3.875 kB / 405.1 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.6145, allocations: 3.953 kB / 405.1 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.6145, allocations: 16.45 kB / 405.1 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.6151, allocations: 436 kB / 405.5 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6151, allocations: 3.719 kB / 405.5 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.6154, allocations: 19.25 kB / 405.5 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006849/0.6161, allocations: 167.9 kB / 405.7 MB, free: 20.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.6161, allocations: 3.25 kB / 405.7 MB, free: 20.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008011/0.6241, allocations: 5.835 MB / 411.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6242, allocations: 0 / 411.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.6263, allocations: 0.5473 MB / 412.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.6267, allocations: 149.2 kB / 412.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.6269, allocations: 10.69 kB / 412.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.6276, allocations: 38.06 kB / 412.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.6279, allocations: 60.45 kB / 412.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.6279, allocations: 11.55 kB / 412.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005007/0.6285, allocations: 230.7 kB / 412.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6285, allocations: 4 kB / 412.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001865/0.6304, allocations: 166.3 kB / 412.8 MB, free: 14.57 MB / 330.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.000413/0.6308, allocations: 133.6 kB / 412.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.6334, allocations: 0.9131 MB / 413.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6334, allocations: 0 / 413.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.635, allocations: 0.7132 MB / 414.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.6359, allocations: 76.48 kB / 414.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.6391, allocations: 0.9854 MB / 415.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.6399, allocations: 0.8338 MB / 416.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.6401, allocations: 22.94 kB / 416.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6401, allocations: 0 / 416.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of Templates: time 0.05008/0.6902, allocations: 11 MB / 427.4 MB, free: 7.434 MB / 330.7 MB "Error: Could not read variable IdealGTOThyristor1.s in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable IdealGTOThyristor1.s from file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable IdealGTOThyristor2.s in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable IdealGTOThyristor2.s from file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable IdealThyristor1.s in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable IdealThyristor1.s from file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable IdealThyristor2.s in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable IdealThyristor2.s from file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable _derdummy in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable _derdummy from file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable _dummy in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable _dummy from file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable booleanStep1.index in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable booleanStep1.index from file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable booleanStep1.n in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable booleanStep1.n from file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat failed! Error: Could not read variable booleanStep1.nextTime in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat. Warning: Get data of variable booleanStep1.nextTime from file Modelica_3.2.2_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