Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09179, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004745/0.09658, allocations: 2.898 MB / 312 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.09884, allocations: 0.9596 MB / 312.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.0991, allocations: 4 kB / 312.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.09925, allocations: 51.58 kB / 313 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.09977, allocations: 187.4 kB / 313.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.1005, allocations: 151.8 kB / 313.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.1012, allocations: 403.4 kB / 313.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.1015, allocations: 123.3 kB / 313.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.1019, allocations: 175.4 kB / 314 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.1022, allocations: 207.1 kB / 314.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.376e-05/0.1023, allocations: 24 kB / 314.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.1026, allocations: 67.95 kB / 314.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1027, allocations: 75.67 kB / 314.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1029, allocations: 117.5 kB / 314.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.1035, allocations: 407.1 kB / 314.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1035, allocations: 0 / 314.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1035, allocations: 0 / 314.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1035, allocations: 0 / 314.9 MB, free: 10.51 MB / 266.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.001751/0.1053, allocations: 0.7711 MB / 315.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1054, allocations: 15.97 kB / 315.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.1055, allocations: 55.34 kB / 315.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.1061, allocations: 318.1 kB / 316 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.1061, allocations: 29 kB / 316 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.1062, allocations: 36 kB / 316.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1073, allocations: 420.7 kB / 316.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1073, allocations: 4 kB / 316.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.1074, allocations: 16 kB / 316.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.1074, allocations: 8 kB / 316.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009635/0.1084, allocations: 303.8 kB / 316.8 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.1119, allocations: 1.633 MB / 318.5 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.1129, allocations: 330.8 kB / 318.8 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.1129, allocations: 4.281 kB / 318.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006785/0.1136, allocations: 281.5 kB / 319.1 MB, free: 6.055 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.915e-06/0.1136, allocations: 0 / 319.1 MB, free: 6.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.003538/0.1172, allocations: 1.108 MB / 320.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.1173, allocations: 217.6 kB / 320.4 MB, free: 4.566 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.1179, allocations: 325.7 kB / 320.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.118, allocations: 33.7 kB / 320.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.1182, allocations: 224.4 kB / 320.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.1184, allocations: 114.4 kB / 321.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.1184, allocations: 7.938 kB / 321.1 MB, free: 3.859 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1186, allocations: 346.8 kB / 321.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.119, allocations: 116.8 kB / 321.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.1195, allocations: 190.6 kB / 321.7 MB, free: 3.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.1199, allocations: 180.1 kB / 321.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.1199, allocations: 0 / 321.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001368/0.1213, allocations: 0.5134 MB / 322.4 MB, free: 2.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.219e-05/0.1214, allocations: 67.34 kB / 322.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1214, allocations: 0 / 322.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008802/0.1223, allocations: 167.3 kB / 322.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.1227, allocations: 39.98 kB / 322.7 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007431/0.1301, allocations: 5.979 MB / 328.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000612/0.1308, allocations: 59.72 kB / 328.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.1308, allocations: 12 kB / 328.7 MB, free: 11.58 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,booleanPulse.y,$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.0003438/0.1312, allocations: 199.5 kB / 328.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.1313, allocations: 43.53 kB / 328.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.1314, allocations: 48.06 kB / 329 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1314, allocations: 3.984 kB / 329 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1315, allocations: 0 / 329 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.1317, allocations: 144.5 kB / 329.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.1318, allocations: 12 kB / 329.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.1323, allocations: 35.97 kB / 329.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.1325, allocations: 40.08 kB / 329.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002329/0.1348, allocations: 0.6846 MB / 329.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001649/0.1365, allocations: 0.6964 MB / 330.6 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004239/0.137, allocations: 144.8 kB / 330.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003681/0.1373, allocations: 231.2 kB / 331 MB, free: 9.223 MB / 282.7 MB Notification: Performance of Backend: time 6.51e-07/0.1374, allocations: 4 kB / 331 MB, free: 9.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.1393, allocations: 0.8907 MB / 331.9 MB, free: 8.242 MB / 282.7 MB Notification: Performance of SimCode: time 0.002311/0.1416, allocations: 1.459 MB / 333.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of Templates: time 0.02061/0.1623, allocations: 6.467 MB / 339.8 MB, free: 308 kB / 282.7 MB