Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 0.945/0.945, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005229/0.0005232, allocations: 7.938 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05853/0.05909, allocations: 25.16 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.2621, allocations: 36.61 MB / 220.1 MB, free: 6.004 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.2625, allocations: 65.09 kB / 220.2 MB, free: 5.996 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02501/0.2875, allocations: 4.207 MB / 224.4 MB, free: 4.312 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.379e-06/0.2876, allocations: 3.812 kB / 224.4 MB, free: 4.312 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.2876, allocations: 7.844 kB / 224.4 MB, free: 4.309 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001784/0.2894, allocations: 0.5807 MB / 225 MB, free: 3.82 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.2895, allocations: 7.469 kB / 225 MB, free: 3.82 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.2896, allocations: 30.12 kB / 225 MB, free: 3.805 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.2901, allocations: 251.4 kB / 225.3 MB, free: 3.57 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.2902, allocations: 11.69 kB / 225.3 MB, free: 3.57 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.2903, allocations: 18.25 kB / 225.3 MB, free: 3.57 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.2915, allocations: 272.5 kB / 225.6 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.2916, allocations: 0 / 225.6 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.2917, allocations: 14.92 kB / 225.6 MB, free: 3.469 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2917, allocations: 5.328 kB / 225.6 MB, free: 3.469 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.2935, allocations: 299.2 kB / 225.9 MB, free: 3.406 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.2967, allocations: 0.8645 MB / 226.7 MB, free: 2.883 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006304/0.303, allocations: 0.6171 MB / 227.3 MB, free: 2.699 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.527e-05/0.3031, allocations: 3.719 kB / 227.4 MB, free: 2.699 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.3043, allocations: 234.2 kB / 227.6 MB, free: 2.582 MB / 170.7 MB Notification: Performance of pre-optimization done (n=19): time 5.1e-06/0.3043, allocations: 0 / 227.6 MB, free: 2.582 MB / 170.7 MB Notification: Performance of matching and sorting (n=19): time 0.002977/0.3073, allocations: 477.4 kB / 228 MB, free: 2.449 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.3074, allocations: 84.34 kB / 228.1 MB, free: 2.352 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.3079, allocations: 206.5 kB / 228.3 MB, free: 2.23 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.308, allocations: 28.89 kB / 228.4 MB, free: 2.199 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3081, allocations: 212 kB / 228.6 MB, free: 2.02 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.933e-05/0.3082, allocations: 62.31 kB / 228.6 MB, free: 1.973 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.3083, allocations: 5.281 kB / 228.6 MB, free: 1.973 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.3084, allocations: 324.5 kB / 228.9 MB, free: 1.652 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008895/0.3093, allocations: 136.5 kB / 229.1 MB, free: 1.621 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/0.3102, allocations: 170 kB / 229.2 MB, free: 1.504 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008556/0.3111, allocations: 146.8 kB / 229.4 MB, free: 1.391 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.878e-06/0.3111, allocations: 0 / 229.4 MB, free: 1.391 MB / 170.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001932/0.3131, allocations: 368.2 kB / 229.8 MB, free: 1.09 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3131, allocations: 4 kB / 229.8 MB, free: 1.086 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.311e-06/0.3132, allocations: 0 / 229.8 MB, free: 1.086 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3132, allocations: 4 kB / 229.8 MB, free: 1.082 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007231/0.3205, allocations: 335.2 kB / 230.1 MB, free: 0.7578 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/0.3301, allocations: 3.278 MB / 233.4 MB, free: 13.34 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.3306, allocations: 59.36 kB / 233.4 MB, free: 13.29 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.3307, allocations: 8 kB / 233.4 MB, free: 13.28 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real thyristor_v4_1.vControl:VARIABLE(start = 0.0 fixed = true ) type: Real pulseCurrent.signalSource.T0:DISCRETE(start = pulseCurrent.signalSource.startTime unit = "s" fixed = true protected = true ) "Start time of current period" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.pulseCurrent.signalSource.T0,pulseCurrent.signalSource.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0003002/0.331, allocations: 145.8 kB / 233.6 MB, free: 13.14 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.3311, allocations: 27.67 kB / 233.6 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.3312, allocations: 32.42 kB / 233.6 MB, free: 13.09 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-06/0.3312, allocations: 0 / 233.6 MB, free: 13.09 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.455e-06/0.3312, allocations: 4 kB / 233.6 MB, free: 13.09 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.886e-06/0.3312, allocations: 0 / 233.6 MB, free: 13.09 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.3317, allocations: 332.3 kB / 234 MB, free: 12.78 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.3317, allocations: 3.953 kB / 234 MB, free: 12.78 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/0.3344, allocations: 319.6 kB / 234.3 MB, free: 12.46 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.3344, allocations: 4 kB / 234.3 MB, free: 12.46 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.3345, allocations: 7.609 kB / 234.3 MB, free: 12.46 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006647/0.3411, allocations: 3.284 MB / 237.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.597e-06/0.3412, allocations: 0 / 237.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.3431, allocations: 0.5356 MB / 238.1 MB, free: 8.578 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.3433, allocations: 125 kB / 238.2 MB, free: 8.449 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.3434, allocations: 4 kB / 238.2 MB, free: 8.445 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.3438, allocations: 43.28 kB / 238.3 MB, free: 8.406 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.3439, allocations: 19.41 kB / 238.3 MB, free: 8.391 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.3439, allocations: 7.984 kB / 238.3 MB, free: 8.383 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002245/0.3442, allocations: 161.6 kB / 238.5 MB, free: 8.254 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.3442, allocations: 0 / 238.5 MB, free: 8.254 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005895/0.3448, allocations: 74.41 kB / 238.5 MB, free: 8.188 MB / 186.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: 2 ($whenCondition1,pulseCurrent.signalSource.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000191/0.345, allocations: 114.9 kB / 238.6 MB, free: 8.066 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.003238/0.3483, allocations: 0.5469 MB / 239.2 MB, free: 7.574 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.822e-06/0.3483, allocations: 0 / 239.2 MB, free: 7.574 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.3509, allocations: 402 kB / 239.6 MB, free: 7.211 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.3514, allocations: 36.2 kB / 239.6 MB, free: 7.18 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3535, allocations: 0.7323 MB / 240.4 MB, free: 6.461 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.354, allocations: 0.752 MB / 241.1 MB, free: 5.684 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3541, allocations: 23.38 kB / 241.1 MB, free: 5.66 MB / 186.7 MB Notification: Performance of SimCode: time 4.062e-06/0.3541, allocations: 0 / 241.1 MB, free: 5.66 MB / 186.7 MB Notification: Performance of Templates: time 0.008991/0.3631, allocations: 4.745 MB / 245.9 MB, free: 0.9453 MB / 186.7 MB