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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.116/2.116, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 16 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3296, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.4663, allocations: 74.87 MB / 383.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4666, allocations: 71.95 kB / 383.5 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02358/0.4902, allocations: 4.655 MB / 388.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4903, allocations: 0 / 388.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.4903, allocations: 4 kB / 388.2 MB, free: 12.93 MB / 330.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.002097/0.4924, allocations: 0.6418 MB / 388.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4925, allocations: 8.031 kB / 388.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.4926, allocations: 54.55 kB / 388.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.4927, allocations: 27.62 kB / 388.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.4932, allocations: 275.2 kB / 389.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.4933, allocations: 16.44 kB / 389.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.4934, allocations: 28 kB / 389.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.4947, allocations: 321.7 kB / 389.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4947, allocations: 0 / 389.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.4947, allocations: 8 kB / 389.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.4948, allocations: 4 kB / 389.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.4965, allocations: 337.5 kB / 389.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.5007, allocations: 1.019 MB / 390.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009496/0.5102, allocations: 0.6196 MB / 391.5 MB, free: 9.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-05/0.5104, allocations: 7.953 kB / 391.5 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.512, allocations: 250.6 kB / 391.8 MB, free: 9.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 3.196e-06/0.512, allocations: 8 kB / 391.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.002829/0.5149, allocations: 0.5247 MB / 392.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.515, allocations: 89.09 kB / 392.4 MB, free: 8.488 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.5154, allocations: 212.2 kB / 392.6 MB, free: 8.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.5155, allocations: 29.64 kB / 392.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5156, allocations: 156.2 kB / 392.8 MB, free: 8.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5158, allocations: 75 kB / 392.8 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.5158, allocations: 4 kB / 392.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.516, allocations: 330.8 kB / 393.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009041/0.5169, allocations: 172.3 kB / 393.3 MB, free: 7.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/0.5178, allocations: 199.3 kB / 393.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000924/0.5188, allocations: 190.6 kB / 393.7 MB, free: 7.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5188, allocations: 0 / 393.7 MB, free: 7.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002135/0.5209, allocations: 452.5 kB / 394.2 MB, free: 6.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.376e-05/0.5211, allocations: 40.19 kB / 394.2 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5211, allocations: 0 / 394.2 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5211, allocations: 4 kB / 394.2 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/0.5254, allocations: 331.7 kB / 394.5 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008612/0.5341, allocations: 3.275 MB / 397.8 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/0.5349, allocations: 67.88 kB / 397.9 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.535, allocations: 8 kB / 397.9 MB, free: 2.672 MB / 330.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.0002545/0.5352, allocations: 141.7 kB / 398 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.5354, allocations: 23.72 kB / 398 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.5355, allocations: 30.17 kB / 398.1 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.5355, allocations: 7.984 kB / 398.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5355, allocations: 4 kB / 398.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5355, allocations: 0 / 398.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.5361, allocations: 353.2 kB / 398.4 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5361, allocations: 0 / 398.4 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004319/0.5404, allocations: 323.6 kB / 398.7 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.5405, allocations: 8 kB / 398.7 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.5406, allocations: 11.92 kB / 398.8 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008581/0.5491, allocations: 3.267 MB / 402 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.5492, allocations: 4.141 kB / 402 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.5522, allocations: 0.597 MB / 402.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.5524, allocations: 100.9 kB / 402.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.5524, allocations: 0 / 402.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.5531, allocations: 60 kB / 402.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.5533, allocations: 23.92 kB / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.5533, allocations: 15.98 kB / 402.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002704/0.5536, allocations: 164.5 kB / 403 MB, free: 13.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5536, allocations: 0 / 403 MB, free: 13.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.5543, allocations: 87.84 kB / 403.1 MB, free: 13.12 MB / 346.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.003929/0.5582, allocations: 1.147 MB / 404.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007948/0.5662, allocations: 0.6473 MB / 404.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.5663, allocations: 0 / 404.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00497/0.5713, allocations: 428.5 kB / 405.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.5718, allocations: 36.39 kB / 405.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006576/0.5784, allocations: 2.029 MB / 407.3 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.5788, allocations: 0.7521 MB / 408.1 MB, free: 7.961 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002736/0.5791, allocations: 25.94 kB / 408.1 MB, free: 7.938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.5793, allocations: 79.41 kB / 408.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5794, allocations: 4 kB / 408.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/0.6193, allocations: 5.474 MB / 413.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003663/0.6198, allocations: 223.1 kB / 413.9 MB, free: 2.172 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/3.582, allocations: 4.062 kB / 413.9 MB, free: 2.168 MB / 346.7 MB