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.047/1.047, allocations: 111.1 MB / 126.3 MB, free: 6.402 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.682e-05, allocations: 6.656 kB / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05468/0.05473, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003503/0.05829, allocations: 2.024 MB / 181.7 MB, free: 7.586 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.05947, allocations: 467.3 kB / 182.2 MB, free: 7.129 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.05964, allocations: 4 kB / 182.2 MB, free: 7.125 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 8.342e-05/0.05974, allocations: 27.77 kB / 182.2 MB, free: 7.098 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.06005, allocations: 95.7 kB / 182.3 MB, free: 7.004 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.06029, allocations: 47.94 kB / 182.3 MB, free: 6.957 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.06063, allocations: 163.6 kB / 182.5 MB, free: 6.797 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.06082, allocations: 48.39 kB / 182.5 MB, free: 6.75 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.06101, allocations: 79.83 kB / 182.6 MB, free: 6.672 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.06123, allocations: 99.59 kB / 182.7 MB, free: 6.574 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.0613, allocations: 12 kB / 182.7 MB, free: 6.562 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.06135, allocations: 8 kB / 182.7 MB, free: 6.555 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/0.06143, allocations: 43.83 kB / 182.8 MB, free: 6.512 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.854e-05/0.06152, allocations: 24 kB / 182.8 MB, free: 6.488 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.06185, allocations: 207.7 kB / 183 MB, free: 6.285 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.06187, allocations: 4 kB / 183 MB, free: 6.281 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.06188, allocations: 0 / 183 MB, free: 6.281 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.0619, allocations: 0 / 183 MB, free: 6.281 MB / 154.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.00102/0.06293, allocations: 499.1 kB / 183.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.06299, allocations: 8.031 kB / 183.5 MB, free: 5.738 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.06309, allocations: 31.62 kB / 183.5 MB, free: 5.707 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.0635, allocations: 246.8 kB / 183.8 MB, free: 5.426 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.06355, allocations: 12.44 kB / 183.8 MB, free: 5.414 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.06361, allocations: 20 kB / 183.8 MB, free: 5.395 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.06458, allocations: 246.6 kB / 184.1 MB, free: 5.141 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.06461, allocations: 0 / 184.1 MB, free: 5.141 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.06466, allocations: 4 kB / 184.1 MB, free: 5.137 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.06468, allocations: 11.95 kB / 184.1 MB, free: 5.125 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.0653, allocations: 165.6 kB / 184.2 MB, free: 4.961 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.0675, allocations: 0.968 MB / 185.2 MB, free: 3.918 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.06819, allocations: 178.4 kB / 185.4 MB, free: 3.734 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.06824, allocations: 0 / 185.4 MB, free: 3.734 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.06829, allocations: 30.56 kB / 185.4 MB, free: 3.695 MB / 154.7 MB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.0683, allocations: 4 kB / 185.4 MB, free: 3.691 MB / 154.7 MB Notification: Performance of matching and sorting (n=18): time 0.001909/0.07022, allocations: 0.5032 MB / 185.9 MB, free: 3.141 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.07029, allocations: 59.36 kB / 186 MB, free: 3.07 MB / 154.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.0003333/0.07064, allocations: 189.2 kB / 186.2 MB, free: 2.883 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.07069, allocations: 33.64 kB / 186.2 MB, free: 2.844 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.07085, allocations: 214.6 kB / 186.4 MB, free: 2.633 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.07093, allocations: 59.19 kB / 186.5 MB, free: 2.574 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.07096, allocations: 7.938 kB / 186.5 MB, free: 2.566 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.07111, allocations: 322.8 kB / 186.8 MB, free: 2.242 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.07135, allocations: 55.98 kB / 186.8 MB, free: 2.188 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.07165, allocations: 102.7 kB / 186.9 MB, free: 2.078 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.07199, allocations: 64.55 kB / 187 MB, free: 2.016 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.07201, allocations: 0 / 187 MB, free: 2.016 MB / 154.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008378/0.07286, allocations: 255.5 kB / 187.2 MB, free: 1.754 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.0729, allocations: 11.95 kB / 187.3 MB, free: 1.742 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.07292, allocations: 0 / 187.3 MB, free: 1.742 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/0.07338, allocations: 77.67 kB / 187.3 MB, free: 1.66 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.07362, allocations: 19.98 kB / 187.4 MB, free: 1.641 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/0.07744, allocations: 3.001 MB / 190.4 MB, free: 14.37 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.07776, allocations: 19.78 kB / 190.4 MB, free: 14.35 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.0778, allocations: 8 kB / 190.4 MB, free: 14.34 MB / 170.7 MB Warning: Assuming fixed start value for the following 1 variables: IdealThyristor1.off:DISCRETE(start = true fixed = true ) "Switching state" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0002498/0.07806, allocations: 141.8 kB / 190.5 MB, free: 14.19 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.07814, allocations: 23.72 kB / 190.5 MB, free: 14.17 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.07821, allocations: 21.88 kB / 190.6 MB, free: 14.14 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.07823, allocations: 4 kB / 190.6 MB, free: 14.14 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.07825, allocations: 3.938 kB / 190.6 MB, free: 14.14 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.07826, allocations: 7.938 kB / 190.6 MB, free: 14.13 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.07876, allocations: 301.4 kB / 190.9 MB, free: 13.79 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.07878, allocations: 128 / 190.9 MB, free: 13.79 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.07894, allocations: 19.98 kB / 190.9 MB, free: 13.77 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/0.07935, allocations: 77.61 kB / 191 MB, free: 13.68 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.07938, allocations: 4 kB / 191 MB, free: 13.68 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003892/0.08329, allocations: 2.928 MB / 193.9 MB, free: 10.49 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.08334, allocations: 0 / 193.9 MB, free: 10.49 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008769/0.08422, allocations: 331.3 kB / 194.2 MB, free: 10.14 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.08439, allocations: 112.8 kB / 194.3 MB, free: 10.02 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.08446, allocations: 4.062 kB / 194.3 MB, free: 10.01 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.08474, allocations: 19.98 kB / 194.4 MB, free: 9.992 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.08487, allocations: 27.95 kB / 194.4 MB, free: 9.965 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.0849, allocations: 0 / 194.4 MB, free: 9.965 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.08512, allocations: 155.2 kB / 194.5 MB, free: 9.812 MB / 170.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.08513, allocations: 0 / 194.5 MB, free: 9.812 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006969/0.08584, allocations: 75.84 kB / 194.6 MB, free: 9.738 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire) * 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.000164/0.08601, allocations: 111.2 kB / 194.7 MB, free: 9.617 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.08698, allocations: 417.2 kB / 195.1 MB, free: 9.184 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.087, allocations: 0 / 195.1 MB, free: 9.184 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.08757, allocations: 333.1 kB / 195.5 MB, free: 8.832 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.08823, allocations: 52.64 kB / 195.5 MB, free: 8.777 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.08959, allocations: 0.5515 MB / 196.1 MB, free: 8.195 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.09002, allocations: 0.7557 MB / 196.8 MB, free: 7.41 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.09012, allocations: 15.44 kB / 196.8 MB, free: 7.395 MB / 170.7 MB Notification: Performance of SimCode: time 9.02e-07/0.09013, allocations: 4 kB / 196.8 MB, free: 7.391 MB / 170.7 MB Notification: Performance of Templates: time 0.00998/0.1001, allocations: 4.321 MB / 201.1 MB, free: 3.074 MB / 170.7 MB