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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.712/1.712, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 11.94 kB / 233.4 MB, free: 176 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.08971, allocations: 38.77 MB / 272.1 MB, free: 9.316 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4498, allocations: 69.84 MB / 342 MB, free: 12.7 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.4501, allocations: 74 kB / 342 MB, free: 12.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02378/0.4739, allocations: 4.713 MB / 346.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.474, allocations: 0 / 346.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.474, allocations: 8 kB / 346.8 MB, free: 7.906 MB / 282.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.002021/0.476, allocations: 0.6456 MB / 347.4 MB, free: 7.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4761, allocations: 8.031 kB / 347.4 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.903e-05/0.4762, allocations: 62.53 kB / 347.5 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/0.4763, allocations: 31.62 kB / 347.5 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.4767, allocations: 255.6 kB / 347.8 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.4768, allocations: 20.44 kB / 347.8 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/0.4769, allocations: 16 kB / 347.8 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.4782, allocations: 325.7 kB / 348.1 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4782, allocations: 4 kB / 348.1 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.4783, allocations: 12 kB / 348.1 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.4783, allocations: 7.984 kB / 348.1 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.48, allocations: 329.5 kB / 348.5 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.4832, allocations: 1.031 MB / 349.5 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006098/0.4894, allocations: 0.6203 MB / 350.1 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/0.4895, allocations: 4 kB / 350.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.4907, allocations: 264.3 kB / 350.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.796e-06/0.4907, allocations: 0 / 350.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.002817/0.4936, allocations: 0.5305 MB / 350.9 MB, free: 3.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.4937, allocations: 81.11 kB / 351 MB, free: 3.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.494, allocations: 208.2 kB / 351.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.4941, allocations: 29.7 kB / 351.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.4943, allocations: 160.2 kB / 351.4 MB, free: 3.043 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.4944, allocations: 67.02 kB / 351.4 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.4944, allocations: 8 kB / 351.4 MB, free: 2.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4946, allocations: 334.8 kB / 351.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000889/0.4955, allocations: 164.4 kB / 351.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009154/0.4964, allocations: 191.4 kB / 352.1 MB, free: 2.273 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/0.4973, allocations: 198.5 kB / 352.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.4974, allocations: 0 / 352.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002031/0.4994, allocations: 460.4 kB / 352.8 MB, free: 1.617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.4995, allocations: 29.7 kB / 352.8 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4995, allocations: 0 / 352.8 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.4995, allocations: 7.953 kB / 352.8 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/0.5039, allocations: 339.6 kB / 353.1 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008549/0.5124, allocations: 3.283 MB / 356.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.5133, allocations: 63.98 kB / 356.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.5133, allocations: 4 kB / 356.5 MB, free: 13.63 MB / 298.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.0002777/0.5136, allocations: 149.8 kB / 356.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.5137, allocations: 31.61 kB / 356.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-05/0.5138, allocations: 34.12 kB / 356.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.5138, allocations: 0 / 356.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5138, allocations: 0 / 356.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.5139, allocations: 3.984 kB / 356.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.5144, allocations: 349.3 kB / 357 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5144, allocations: 11.95 kB / 357 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004344/0.5188, allocations: 323.7 kB / 357.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.5188, allocations: 0 / 357.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.5189, allocations: 8 kB / 357.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00851/0.5274, allocations: 3.279 MB / 360.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5275, allocations: 0 / 360.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.5304, allocations: 0.5969 MB / 361.2 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.5306, allocations: 120.8 kB / 361.4 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.5307, allocations: 8 kB / 361.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.5313, allocations: 52.02 kB / 361.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.5314, allocations: 27.95 kB / 361.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.5315, allocations: 4 kB / 361.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.5318, allocations: 168.5 kB / 361.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5318, allocations: 4 kB / 361.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006329/0.5324, allocations: 87.78 kB / 361.7 MB, free: 8.039 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.003329/0.5358, allocations: 1.155 MB / 362.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005305/0.5411, allocations: 0.6425 MB / 363.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5411, allocations: 3.938 kB / 363.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004283/0.5454, allocations: 427.6 kB / 363.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.5459, allocations: 35.17 kB / 364 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/0.5525, allocations: 2.02 MB / 366 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.553, allocations: 0.756 MB / 366.7 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.5533, allocations: 25.89 kB / 366.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.5535, allocations: 83.34 kB / 366.8 MB, free: 2.789 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5535, allocations: 0 / 366.8 MB, free: 2.789 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.5885, allocations: 5.491 MB / 372.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003727/0.589, allocations: 214 kB / 372.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.347, allocations: 8 kB / 372.6 MB, free: 13.12 MB / 314.7 MB