Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="R1.i|R1.v|R3.i|R3.v|Time",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 1.015/1.015, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.757e-05, allocations: 4 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1559, allocations: 25.16 MB / 176.5 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05447/0.2104, allocations: 35.85 MB / 212.4 MB, free: 13.6 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.2107, allocations: 63.97 kB / 212.5 MB, free: 13.54 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01463/0.2253, allocations: 3.717 MB / 216.2 MB, free: 9.809 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.977e-06/0.2254, allocations: 0 / 216.2 MB, free: 9.809 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.2254, allocations: 4 kB / 216.2 MB, free: 9.805 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007987/0.2262, allocations: 494.9 kB / 216.7 MB, free: 9.277 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2263, allocations: 8.031 kB / 216.7 MB, free: 9.27 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.2264, allocations: 35.61 kB / 216.7 MB, free: 9.234 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.2267, allocations: 243 kB / 216.9 MB, free: 8.957 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.2268, allocations: 16.44 kB / 217 MB, free: 8.941 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.2269, allocations: 20 kB / 217 MB, free: 8.922 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.2274, allocations: 213.9 kB / 217.2 MB, free: 8.699 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2274, allocations: 3.984 kB / 217.2 MB, free: 8.695 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.2275, allocations: 12 kB / 217.2 MB, free: 8.684 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2275, allocations: 7.953 kB / 217.2 MB, free: 8.676 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.2279, allocations: 140.8 kB / 217.3 MB, free: 8.539 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.2298, allocations: 0.9602 MB / 218.3 MB, free: 7.5 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.2302, allocations: 167.3 kB / 218.5 MB, free: 7.328 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.2305, allocations: 96.84 kB / 218.6 MB, free: 7.23 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.2305, allocations: 4.297 kB / 218.6 MB, free: 7.227 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.2306, allocations: 34.56 kB / 218.6 MB, free: 7.184 MB / 186.7 MB Notification: Performance of pre-optimization done (n=18): time 3.319e-06/0.2306, allocations: 0 / 218.6 MB, free: 7.184 MB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006374/0.2312, allocations: 211.7 kB / 218.8 MB, free: 6.965 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2313, allocations: 55.41 kB / 218.9 MB, free: 6.898 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.2316, allocations: 191.9 kB / 219 MB, free: 6.707 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.2317, allocations: 29.7 kB / 219.1 MB, free: 6.672 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.2318, allocations: 202.6 kB / 219.3 MB, free: 6.473 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.2319, allocations: 59.16 kB / 219.3 MB, free: 6.414 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.232, allocations: 4 kB / 219.3 MB, free: 6.41 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2321, allocations: 322.8 kB / 219.7 MB, free: 6.086 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2323, allocations: 44.38 kB / 219.7 MB, free: 6.039 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.2324, allocations: 74.27 kB / 219.8 MB, free: 5.961 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.2326, allocations: 44.55 kB / 219.8 MB, free: 5.918 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.347e-06/0.2326, allocations: 7.938 kB / 219.8 MB, free: 5.91 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005579/0.2332, allocations: 216 kB / 220 MB, free: 5.691 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.2332, allocations: 5.875 kB / 220 MB, free: 5.688 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.35e-06/0.2333, allocations: 4 kB / 220 MB, free: 5.684 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.2337, allocations: 85.64 kB / 220.1 MB, free: 5.594 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2338, allocations: 19.98 kB / 220.1 MB, free: 5.574 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/0.2374, allocations: 2.962 MB / 223.1 MB, free: 2.34 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.2376, allocations: 19.86 kB / 223.1 MB, free: 2.32 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.2377, allocations: 8 kB / 223.1 MB, free: 2.312 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: IdealThyristor1.off:DISCRETE(start = true fixed = false ) "Switching state" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.IdealThyristor1.off,IdealThyristor1.off,BooleanStep1.y,IdealGTOThyristor1.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.2379, allocations: 121 kB / 223.2 MB, free: 2.188 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.2379, allocations: 15.81 kB / 223.3 MB, free: 2.172 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.238, allocations: 25.72 kB / 223.3 MB, free: 2.141 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.792e-06/0.238, allocations: 7.953 kB / 223.3 MB, free: 2.133 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.405e-06/0.2381, allocations: 4.234 kB / 223.3 MB, free: 2.129 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.33e-06/0.2381, allocations: 0 / 223.3 MB, free: 2.129 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2392, allocations: 0.5788 MB / 223.9 MB, free: 1.484 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-06/0.2392, allocations: 0 / 223.9 MB, free: 1.484 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.2393, allocations: 15.94 kB / 223.9 MB, free: 1.469 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.2397, allocations: 85.66 kB / 224 MB, free: 1.379 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.2397, allocations: 4 kB / 224 MB, free: 1.375 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/0.2431, allocations: 2.881 MB / 226.9 MB, free: 14.23 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.886e-06/0.2431, allocations: 8.016 kB / 226.9 MB, free: 14.22 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/0.2437, allocations: 317.7 kB / 227.2 MB, free: 13.88 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2439, allocations: 108.9 kB / 227.3 MB, free: 13.75 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.2439, allocations: 4 kB / 227.3 MB, free: 13.75 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2442, allocations: 20.05 kB / 227.3 MB, free: 13.73 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2443, allocations: 23.95 kB / 227.3 MB, free: 13.71 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.2443, allocations: 8 kB / 227.3 MB, free: 13.7 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.2445, allocations: 156.6 kB / 227.5 MB, free: 13.55 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.2446, allocations: 0 / 227.5 MB, free: 13.55 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.000646/0.2452, allocations: 75.84 kB / 227.6 MB, free: 13.47 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (IdealThyristor1.off,BooleanStep1.y,IdealGTOThyristor1.off) * Number of discrete states: 1 (IdealThyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.2454, allocations: 107.2 kB / 227.7 MB, free: 13.36 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0006817/0.2461, allocations: 363.3 kB / 228 MB, free: 12.98 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.228e-06/0.2461, allocations: 0 / 228 MB, free: 12.98 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.2465, allocations: 307.5 kB / 228.3 MB, free: 12.66 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.2471, allocations: 56.56 kB / 228.4 MB, free: 12.61 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.2479, allocations: 302.8 kB / 228.7 MB, free: 12.28 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.2484, allocations: 0.7516 MB / 229.4 MB, free: 11.5 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.2485, allocations: 15.44 kB / 229.4 MB, free: 11.49 MB / 202.7 MB Notification: Performance of SimCode: time 1.708e-06/0.2485, allocations: 7.938 kB / 229.5 MB, free: 11.48 MB / 202.7 MB Notification: Performance of Templates: time 0.00799/0.2565, allocations: 4.32 MB / 233.8 MB, free: 7.172 MB / 202.7 MB