Running command: translateModel(Modelica.Electrical.Analog.Examples.SwitchWithArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.SwitchWithArc") Notification: Performance of loadModel(Modelica): time 1.116/1.116, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.569e-05, allocations: 7.984 kB / 151.4 MB, free: 15.62 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1414, allocations: 25.14 MB / 176.5 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05509/0.1965, allocations: 35.77 MB / 212.3 MB, free: 13.72 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.1968, allocations: 67.95 kB / 212.4 MB, free: 13.65 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02053/0.2173, allocations: 5.106 MB / 217.5 MB, free: 8.535 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.848e-06/0.2174, allocations: 4 kB / 217.5 MB, free: 8.531 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.2174, allocations: 12 kB / 217.5 MB, free: 8.52 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009992/0.2184, allocations: 0.5363 MB / 218 MB, free: 7.93 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2185, allocations: 8.031 kB / 218 MB, free: 7.922 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.2186, allocations: 35.62 kB / 218.1 MB, free: 7.887 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.219, allocations: 250.5 kB / 218.3 MB, free: 7.602 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.2191, allocations: 80.17 kB / 218.4 MB, free: 7.512 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.2192, allocations: 28 kB / 218.4 MB, free: 7.484 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.2198, allocations: 290.2 kB / 218.7 MB, free: 7.184 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2199, allocations: 3.938 kB / 218.7 MB, free: 7.18 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.2199, allocations: 16 kB / 218.7 MB, free: 7.164 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.22, allocations: 8 kB / 218.7 MB, free: 7.156 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.2204, allocations: 169.1 kB / 218.9 MB, free: 6.992 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.2227, allocations: 1.151 MB / 220.1 MB, free: 5.758 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.2231, allocations: 146.6 kB / 220.2 MB, free: 5.605 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.2233, allocations: 80.88 kB / 220.3 MB, free: 5.523 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2234, allocations: 4 kB / 220.3 MB, free: 5.52 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00034/0.2237, allocations: 155.7 kB / 220.4 MB, free: 5.344 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 3.285e-06/0.2238, allocations: 4 kB / 220.4 MB, free: 5.34 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007163/0.2245, allocations: 212.6 kB / 220.6 MB, free: 5.125 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.2246, allocations: 110.8 kB / 220.8 MB, free: 4.992 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter resistor2.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter resistor1.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Blocks/Sources.mo:2660:7-2661:28:writable] Warning: Parameter booleanPulse.period 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.0003407/0.225, allocations: 212.7 kB / 221 MB, free: 4.781 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.225, allocations: 33.7 kB / 221 MB, free: 4.742 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2252, allocations: 234.5 kB / 221.2 MB, free: 4.508 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.2253, allocations: 63.06 kB / 221.3 MB, free: 4.445 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.2253, allocations: 4 kB / 221.3 MB, free: 4.441 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2255, allocations: 326.8 kB / 221.6 MB, free: 4.113 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.2257, allocations: 60.45 kB / 221.7 MB, free: 4.051 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2259, allocations: 119.7 kB / 221.8 MB, free: 3.91 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.2261, allocations: 61.14 kB / 221.8 MB, free: 3.852 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.348e-06/0.2261, allocations: 4.031 kB / 221.8 MB, free: 3.848 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005869/0.2267, allocations: 240.4 kB / 222.1 MB, free: 3.605 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2268, allocations: 4 kB / 222.1 MB, free: 3.602 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.2268, allocations: 7.984 kB / 222.1 MB, free: 3.594 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.2271, allocations: 52.94 kB / 222.1 MB, free: 3.539 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.2274, allocations: 59.84 kB / 222.2 MB, free: 3.48 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.2292, allocations: 1.397 MB / 223.6 MB, free: 1.949 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.2295, allocations: 39.67 kB / 223.6 MB, free: 1.91 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.2295, allocations: 15.98 kB / 223.7 MB, free: 1.895 MB / 186.7 MB Warning: Assuming fixed start value for the following 5 variables: switch2.quenched:DISCRETE(fixed = false protected = true ) type: Boolean switch2.tSwitch:DISCRETE(unit = "s" fixed = false protected = true ) type: Real switch2.off:DISCRETE(fixed = false protected = true ) type: Boolean inductor1.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real inductor2.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.switch2.off,switch2.off,$PRE.switch2.tSwitch,switch2.tSwitch,$PRE.switch2.quenched,switch2.quenched) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.2297, allocations: 126.1 kB / 223.8 MB, free: 1.766 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.2298, allocations: 27.67 kB / 223.8 MB, free: 1.738 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.2299, allocations: 25.95 kB / 223.8 MB, free: 1.719 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.085e-06/0.2299, allocations: 4 kB / 223.8 MB, free: 1.715 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.062e-06/0.2299, allocations: 3.984 kB / 223.8 MB, free: 1.711 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.969e-06/0.2299, allocations: 8 kB / 223.8 MB, free: 1.703 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.2304, allocations: 325.4 kB / 224.2 MB, free: 1.336 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-06/0.2304, allocations: 3.938 kB / 224.2 MB, free: 1.332 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.2307, allocations: 31.98 kB / 224.2 MB, free: 1.301 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.2309, allocations: 48.83 kB / 224.2 MB, free: 1.25 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.231, allocations: 7.984 kB / 224.3 MB, free: 1.242 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.2325, allocations: 1.324 MB / 225.6 MB, free: 15.78 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.117e-06/0.2326, allocations: 0 / 225.6 MB, free: 15.78 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.2334, allocations: 316 kB / 225.9 MB, free: 15.45 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2336, allocations: 109.1 kB / 226 MB, free: 15.33 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.2337, allocations: 12 kB / 226 MB, free: 15.32 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.2339, allocations: 19.98 kB / 226 MB, free: 15.3 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.234, allocations: 35.88 kB / 226.1 MB, free: 15.26 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.2341, allocations: 7.984 kB / 226.1 MB, free: 15.25 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.2343, allocations: 157.4 kB / 226.2 MB, free: 15.1 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.2343, allocations: 0 / 226.2 MB, free: 15.1 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005006/0.2348, allocations: 87.69 kB / 226.3 MB, free: 15.01 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor1.i,inductor2.i) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,booleanPulse.pulsStart,switch2.off,switch2.tSwitch,switch2.quenched) * Number of discrete states: 2 (switch2.quenched,switch2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001835/0.235, allocations: 116 kB / 226.4 MB, free: 14.89 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0006467/0.2357, allocations: 265.6 kB / 226.7 MB, free: 14.62 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.244e-06/0.2357, allocations: 0 / 226.7 MB, free: 14.62 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.236, allocations: 181.7 kB / 226.9 MB, free: 14.43 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.2365, allocations: 64.58 kB / 226.9 MB, free: 14.37 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2376, allocations: 453.7 kB / 227.4 MB, free: 13.9 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.2381, allocations: 0.7648 MB / 228.1 MB, free: 13.11 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/0.2382, allocations: 23.44 kB / 228.2 MB, free: 13.09 MB / 202.7 MB Notification: Performance of SimCode: time 1.468e-06/0.2382, allocations: 0 / 228.2 MB, free: 13.09 MB / 202.7 MB Notification: Performance of Templates: time 0.008274/0.2465, allocations: 4.094 MB / 232.2 MB, free: 9.008 MB / 202.7 MB