Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 1.875/1.875, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005136, allocations: 15.98 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1116, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003625/0.1152, allocations: 2.164 MB / 274.8 MB, free: 9.348 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1168, allocations: 0.7019 MB / 275.5 MB, free: 8.645 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.117, allocations: 0 / 275.5 MB, free: 8.645 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.1172, allocations: 27.77 kB / 275.5 MB, free: 8.617 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.1177, allocations: 95.73 kB / 275.6 MB, free: 8.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.1182, allocations: 79.77 kB / 275.7 MB, free: 8.445 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.1189, allocations: 235.5 kB / 275.9 MB, free: 8.215 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.1192, allocations: 65.31 kB / 276 MB, free: 8.148 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.1197, allocations: 127.5 kB / 276.1 MB, free: 8.023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.1202, allocations: 147.5 kB / 276.3 MB, free: 7.879 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1204, allocations: 16 kB / 276.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1205, allocations: 20 kB / 276.3 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1207, allocations: 51.75 kB / 276.3 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.1209, allocations: 69.58 kB / 276.4 MB, free: 7.719 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007822/0.1217, allocations: 267.5 kB / 276.7 MB, free: 7.457 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1217, allocations: 0 / 276.7 MB, free: 7.457 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1217, allocations: 0 / 276.7 MB, free: 7.457 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1218, allocations: 0 / 276.7 MB, free: 7.457 MB / 234.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.003582/0.1254, allocations: 0.6607 MB / 277.3 MB, free: 6.742 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.665e-05/0.1255, allocations: 8.031 kB / 277.3 MB, free: 6.734 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.1257, allocations: 35.56 kB / 277.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.1264, allocations: 263.6 kB / 277.6 MB, free: 6.398 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.1264, allocations: 16.44 kB / 277.6 MB, free: 6.383 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.1266, allocations: 20 kB / 277.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.1286, allocations: 329.7 kB / 278 MB, free: 6.027 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1286, allocations: 0 / 278 MB, free: 6.027 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.1287, allocations: 12 kB / 278 MB, free: 6.016 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1288, allocations: 4 kB / 278 MB, free: 6.012 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.1313, allocations: 333.5 kB / 278.3 MB, free: 5.688 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.1355, allocations: 0.9959 MB / 279.3 MB, free: 4.625 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008224/0.1437, allocations: 0.5959 MB / 279.9 MB, free: 4.02 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-05/0.1439, allocations: 7.984 kB / 279.9 MB, free: 4.012 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.1455, allocations: 255 kB / 280.2 MB, free: 3.746 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 5.5e-06/0.1456, allocations: 0 / 280.2 MB, free: 3.746 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.00432/0.1499, allocations: 0.5219 MB / 280.7 MB, free: 3.219 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/0.15, allocations: 89.09 kB / 280.8 MB, free: 3.113 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.1506, allocations: 233 kB / 281 MB, free: 2.875 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-05/0.1507, allocations: 29.7 kB / 281 MB, free: 2.84 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.1509, allocations: 156.2 kB / 281.2 MB, free: 2.68 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.1511, allocations: 75 kB / 281.3 MB, free: 2.605 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.1512, allocations: 4 kB / 281.3 MB, free: 2.602 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.1514, allocations: 326.8 kB / 281.6 MB, free: 2.273 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.1528, allocations: 172.3 kB / 281.8 MB, free: 2.105 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.1543, allocations: 191.4 kB / 281.9 MB, free: 1.91 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.1557, allocations: 199 kB / 282.1 MB, free: 1.711 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.1558, allocations: 0 / 282.1 MB, free: 1.711 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.003177/0.159, allocations: 451.7 kB / 282.6 MB, free: 1.258 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.1591, allocations: 33.7 kB / 282.6 MB, free: 1.219 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.1591, allocations: 8 kB / 282.6 MB, free: 1.211 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.1592, allocations: 3.953 kB / 282.6 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/0.1643, allocations: 307.6 kB / 282.9 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.1759, allocations: 3.259 MB / 286.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.177, allocations: 63.89 kB / 286.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.1771, allocations: 12 kB / 286.3 MB, free: 13.31 MB / 250.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.0003521/0.1775, allocations: 147.4 kB / 286.4 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1776, allocations: 27.67 kB / 286.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.1777, allocations: 30.17 kB / 286.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1778, allocations: 0 / 286.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1778, allocations: 0 / 286.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.1781, allocations: 124.7 kB / 286.6 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1782, allocations: 4 kB / 286.6 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/0.1792, allocations: 51.95 kB / 286.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.1794, allocations: 31.89 kB / 286.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008703/0.1881, allocations: 0.7949 MB / 287.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004552/0.1927, allocations: 0.7324 MB / 288.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001442/0.1942, allocations: 183 kB / 288.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003853/0.1946, allocations: 168.5 kB / 288.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of Backend: time 1.312e-06/0.1946, allocations: 4 kB / 288.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.006409/0.201, allocations: 0.5716 MB / 289.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of SimCode: time 0.002521/0.2036, allocations: 1.075 MB / 290.2 MB, free: 9.266 MB / 250.7 MB Notification: Performance of Templates: time 0.01775/0.2214, allocations: 3.736 MB / 293.9 MB, free: 5.539 MB / 250.7 MB