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.ThyristorBehaviourTest.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.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09184, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00355/0.09544, allocations: 2.169 MB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.09698, allocations: 0.7026 MB / 311.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.09713, allocations: 7.938 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.799e-05/0.09721, allocations: 23.81 kB / 312 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.09751, allocations: 99.67 kB / 312.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.09786, allocations: 75.83 kB / 312.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00042/0.09829, allocations: 235.4 kB / 312.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.09849, allocations: 61.31 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.09875, allocations: 139.5 kB / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.09904, allocations: 139.5 kB / 312.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.09912, allocations: 20 kB / 312.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.0992, allocations: 19.94 kB / 312.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.09929, allocations: 51.81 kB / 312.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.919e-05/0.09939, allocations: 69.58 kB / 312.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.09978, allocations: 267.5 kB / 313.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.0998, allocations: 0 / 313.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09981, allocations: 0 / 313.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.09982, allocations: 0 / 313.1 MB, free: 12.28 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002227/0.1021, allocations: 0.6569 MB / 313.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1021, allocations: 8.031 kB / 313.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.436e-05/0.1022, allocations: 31.62 kB / 313.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.1026, allocations: 263.4 kB / 314.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.1027, allocations: 16.44 kB / 314.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.1028, allocations: 23.94 kB / 314.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.1041, allocations: 325.7 kB / 314.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1041, allocations: 0 / 314.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.1041, allocations: 11.98 kB / 314.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1042, allocations: 8 kB / 314.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.1059, allocations: 333.5 kB / 314.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.1086, allocations: 0.9843 MB / 315.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00543/0.114, allocations: 0.6078 MB / 316.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.1141, allocations: 3.953 kB / 316.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.1152, allocations: 254.6 kB / 316.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.495e-06/0.1152, allocations: 4 kB / 316.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.002769/0.118, allocations: 0.521 MB / 317.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.1181, allocations: 89.05 kB / 317.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.1184, allocations: 229 kB / 317.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.1185, allocations: 33.7 kB / 317.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1186, allocations: 156.2 kB / 317.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/0.1187, allocations: 70.98 kB / 317.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.1188, allocations: 4 kB / 317.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1189, allocations: 338.8 kB / 318 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008892/0.1198, allocations: 164.4 kB / 318.2 MB, free: 6.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009222/0.1208, allocations: 195.4 kB / 318.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/0.1217, allocations: 190.5 kB / 318.6 MB, free: 6.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1217, allocations: 0 / 318.6 MB, free: 6.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002066/0.1238, allocations: 451.8 kB / 319 MB, free: 6.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.1239, allocations: 35.58 kB / 319.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1239, allocations: 4 kB / 319.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.1239, allocations: 4 kB / 319.1 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/0.1274, allocations: 311.6 kB / 319.4 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007688/0.1351, allocations: 3.256 MB / 322.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.1358, allocations: 59.86 kB / 322.7 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.1359, allocations: 12 kB / 322.7 MB, free: 2.145 MB / 266.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.0002355/0.1361, allocations: 137.7 kB / 322.8 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.1362, allocations: 27.7 kB / 322.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.555e-05/0.1363, allocations: 26.19 kB / 322.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1363, allocations: 3.984 kB / 322.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1363, allocations: 4 kB / 322.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.799e-05/0.1364, allocations: 100.8 kB / 323 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/0.1365, allocations: 4 kB / 323 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.1371, allocations: 59.84 kB / 323 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1373, allocations: 27.95 kB / 323.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005539/0.1428, allocations: 0.791 MB / 323.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002863/0.1457, allocations: 0.7354 MB / 324.6 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008857/0.1466, allocations: 175.9 kB / 324.8 MB, free: 8 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.1469, allocations: 168.5 kB / 324.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of Backend: time 5.91e-07/0.1469, allocations: 4 kB / 324.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004109/0.151, allocations: 0.5638 MB / 325.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of SimCode: time 0.00164/0.1527, allocations: 1.082 MB / 326.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of Templates: time 0.01136/0.164, allocations: 3.733 MB / 330.3 MB, free: 10.41 MB / 282.7 MB