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.CharacteristicThyristors.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 1.814/1.814, allocations: 171.1 MB / 186.7 MB, free: 1.148 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003617, allocations: 12 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.08158, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005007/0.08665, allocations: 2.893 MB / 275.5 MB, free: 8.625 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.08918, allocations: 0.9395 MB / 276.5 MB, free: 7.684 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.08959, allocations: 8 kB / 276.5 MB, free: 7.676 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.08977, allocations: 51.59 kB / 276.5 MB, free: 7.625 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005759/0.09035, allocations: 179.5 kB / 276.7 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.09118, allocations: 159.7 kB / 276.8 MB, free: 7.293 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008545/0.09205, allocations: 391.6 kB / 277.2 MB, free: 6.906 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.09239, allocations: 127.2 kB / 277.4 MB, free: 6.781 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.09281, allocations: 187.3 kB / 277.5 MB, free: 6.598 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.09318, allocations: 207.1 kB / 277.7 MB, free: 6.395 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.027e-05/0.09327, allocations: 24 kB / 277.8 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.09353, allocations: 59.95 kB / 277.8 MB, free: 6.312 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.09369, allocations: 75.69 kB / 277.9 MB, free: 6.238 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.09387, allocations: 121.4 kB / 278 MB, free: 6.113 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.09452, allocations: 407.1 kB / 278.4 MB, free: 5.715 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.09454, allocations: 0 / 278.4 MB, free: 5.715 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.09455, allocations: 0 / 278.4 MB, free: 5.715 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.09457, allocations: 0 / 278.4 MB, free: 5.715 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.00198/0.09656, allocations: 0.7711 MB / 279.2 MB, free: 4.883 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.09663, allocations: 12.02 kB / 279.2 MB, free: 4.871 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.09681, allocations: 55.34 kB / 279.2 MB, free: 4.816 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.09745, allocations: 315.8 kB / 279.6 MB, free: 4.473 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.09752, allocations: 32.95 kB / 279.6 MB, free: 4.438 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/0.09763, allocations: 47.88 kB / 279.6 MB, free: 4.391 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.09875, allocations: 412.8 kB / 280 MB, free: 3.969 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.09879, allocations: 0 / 280 MB, free: 3.969 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.09886, allocations: 16 kB / 280.1 MB, free: 3.953 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.09889, allocations: 12 kB / 280.1 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009702/0.09987, allocations: 303.8 kB / 280.4 MB, free: 3.641 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.1036, allocations: 1.637 MB / 282 MB, free: 1.902 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009329/0.1046, allocations: 334.4 kB / 282.3 MB, free: 1.57 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.1047, allocations: 4.281 kB / 282.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007205/0.1054, allocations: 277.3 kB / 282.6 MB, free: 1.262 MB / 234.7 MB Notification: Performance of pre-optimization done (n=38): time 3.036e-06/0.1054, allocations: 4 kB / 282.6 MB, free: 1.258 MB / 234.7 MB Notification: Performance of matching and sorting (n=38): time 0.003717/0.1091, allocations: 1.121 MB / 283.7 MB, free: 20 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001963/0.1094, allocations: 221.6 kB / 283.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.11, allocations: 329.6 kB / 284.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/0.1101, allocations: 33.7 kB / 284.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.1103, allocations: 220.3 kB / 284.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.1105, allocations: 122.3 kB / 284.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1105, allocations: 8 kB / 284.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1107, allocations: 346.8 kB / 285 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.1112, allocations: 120.8 kB / 285.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.1117, allocations: 218.1 kB / 285.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.1122, allocations: 184.1 kB / 285.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1122, allocations: 0 / 285.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001517/0.1138, allocations: 0.5406 MB / 286 MB, free: 13.56 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.1139, allocations: 59.41 kB / 286.1 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1139, allocations: 0 / 286.1 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008339/0.1147, allocations: 163.5 kB / 286.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.1151, allocations: 47.91 kB / 286.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007548/0.1227, allocations: 5.997 MB / 292.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.1234, allocations: 59.62 kB / 292.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.1234, allocations: 16 kB / 292.4 MB, free: 6.66 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (35): * Single equations (assignments): 29 * 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.0003609/0.1238, allocations: 207.8 kB / 292.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.1239, allocations: 43.73 kB / 292.6 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.1241, allocations: 52.44 kB / 292.7 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1241, allocations: 0 / 292.7 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1241, allocations: 4 kB / 292.7 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.1243, allocations: 148.5 kB / 292.8 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.1245, allocations: 12 kB / 292.8 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.125, allocations: 39.97 kB / 292.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.1252, allocations: 31.95 kB / 292.9 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002565/0.1277, allocations: 0.6686 MB / 293.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001695/0.1295, allocations: 0.7117 MB / 294.3 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000431/0.1299, allocations: 139.9 kB / 294.4 MB, free: 4.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003923/0.1304, allocations: 227.2 kB / 294.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of Backend: time 3.987e-06/0.1304, allocations: 0 / 294.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.1324, allocations: 0.9082 MB / 295.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of SimCode: time 0.002561/0.135, allocations: 1.449 MB / 297 MB, free: 1.805 MB / 250.7 MB Notification: Performance of Templates: time 0.244/0.3791, allocations: 6.282 MB / 303.3 MB, free: 29.7 MB / 250.7 MB