Running command: translateModel(Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=48000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc") Notification: Performance of loadModel(Modelica): time 1.023/1.023, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.3e-05, allocations: 4 kB / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05224/0.05228, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc): time 0.003918/0.05626, allocations: 2.379 MB / 182.1 MB, free: 7.23 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.05799, allocations: 0.6124 MB / 182.7 MB, free: 6.617 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.05831, allocations: 8 kB / 182.7 MB, free: 6.609 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.05845, allocations: 47.67 kB / 182.7 MB, free: 6.562 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.05882, allocations: 115.6 kB / 182.8 MB, free: 6.449 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.05923, allocations: 75.84 kB / 182.9 MB, free: 6.375 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.05973, allocations: 215.5 kB / 183.1 MB, free: 6.164 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.05999, allocations: 90.17 kB / 183.2 MB, free: 6.078 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.06027, allocations: 107.8 kB / 183.3 MB, free: 5.973 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.06055, allocations: 131.5 kB / 183.5 MB, free: 5.844 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.06064, allocations: 16 kB / 183.5 MB, free: 5.828 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.06071, allocations: 16 kB / 183.5 MB, free: 5.812 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 7.679e-05/0.06079, allocations: 51.75 kB / 183.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.06091, allocations: 36 kB / 183.6 MB, free: 5.727 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.06136, allocations: 299.4 kB / 183.9 MB, free: 5.434 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.06138, allocations: 4 kB / 183.9 MB, free: 5.43 MB / 154.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.06139, allocations: 0 / 183.9 MB, free: 5.43 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.06142, allocations: 0 / 183.9 MB, free: 5.43 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001508/0.06294, allocations: 0.5864 MB / 184.5 MB, free: 4.797 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.063, allocations: 8.031 kB / 184.5 MB, free: 4.789 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.06315, allocations: 35.62 kB / 184.5 MB, free: 4.754 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.06365, allocations: 274.9 kB / 184.8 MB, free: 4.445 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.06379, allocations: 76.06 kB / 184.8 MB, free: 4.355 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/0.06388, allocations: 32 kB / 184.9 MB, free: 4.324 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009806/0.06488, allocations: 346.5 kB / 185.2 MB, free: 3.969 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.06493, allocations: 0 / 185.2 MB, free: 3.969 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.065, allocations: 15.95 kB / 185.2 MB, free: 3.953 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.06503, allocations: 8 kB / 185.2 MB, free: 3.945 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008563/0.06589, allocations: 246 kB / 185.5 MB, free: 3.703 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.0691, allocations: 1.399 MB / 186.9 MB, free: 2.207 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008151/0.06996, allocations: 206.5 kB / 187.1 MB, free: 1.996 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.07001, allocations: 0 / 187.1 MB, free: 1.996 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005001/0.07052, allocations: 169.8 kB / 187.2 MB, free: 1.809 MB / 154.7 MB Notification: Performance of pre-optimization done (n=19): time 1.853e-06/0.07055, allocations: 4 kB / 187.2 MB, free: 1.805 MB / 154.7 MB Notification: Performance of matching and sorting (n=19): time 0.001826/0.07238, allocations: 422.6 kB / 187.7 MB, free: 1.367 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.07251, allocations: 102.8 kB / 187.8 MB, free: 1.242 MB / 154.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.07296, allocations: 242 kB / 188 MB, free: 1 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.07303, allocations: 37.7 kB / 188 MB, free: 0.957 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.07324, allocations: 262.3 kB / 188.3 MB, free: 0.6953 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.07334, allocations: 63.09 kB / 188.3 MB, free: 0.6328 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.07337, allocations: 11.94 kB / 188.4 MB, free: 0.6211 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.07353, allocations: 318.8 kB / 188.7 MB, free: 308 kB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.0739, allocations: 87.7 kB / 188.8 MB, free: 220 kB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/0.07437, allocations: 184.1 kB / 188.9 MB, free: 15.99 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.07478, allocations: 111.9 kB / 189 MB, free: 15.88 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.07481, allocations: 4 kB / 189 MB, free: 15.88 MB / 170.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001263/0.07608, allocations: 346.1 kB / 189.4 MB, free: 15.53 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.07612, allocations: 8 kB / 189.4 MB, free: 15.52 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.07614, allocations: 160 / 189.4 MB, free: 15.52 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.07653, allocations: 64.81 kB / 189.5 MB, free: 15.46 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.07712, allocations: 83.89 kB / 189.5 MB, free: 15.38 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.07908, allocations: 1.409 MB / 190.9 MB, free: 13.84 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.07962, allocations: 55.53 kB / 191 MB, free: 13.78 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.07967, allocations: 19.98 kB / 191 MB, free: 13.76 MB / 170.7 MB Warning: Assuming fixed start value for the following 5 variables: switch2.quenched:DISCRETE(fixed = true protected = true ) type: Boolean switch2.tSwitch:DISCRETE(unit = "s" fixed = true protected = true ) type: Real switch2.off:DISCRETE(fixed = true protected = true ) type: Boolean inductor1.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real inductor2.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$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 (36): * Single equations (assignments): 35 * 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.0003177/0.08, allocations: 159 kB / 191.2 MB, free: 13.6 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.08007, allocations: 23.72 kB / 191.2 MB, free: 13.57 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.08015, allocations: 34.14 kB / 191.2 MB, free: 13.54 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.08018, allocations: 7.938 kB / 191.2 MB, free: 13.53 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.08019, allocations: 0 / 191.2 MB, free: 13.53 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.0802, allocations: 0 / 191.2 MB, free: 13.53 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.08075, allocations: 345.3 kB / 191.6 MB, free: 13.14 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.08077, allocations: 0 / 191.6 MB, free: 13.14 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.08126, allocations: 55.95 kB / 191.6 MB, free: 13.09 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003292/0.08161, allocations: 52.81 kB / 191.7 MB, free: 13.04 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.08166, allocations: 8 kB / 191.7 MB, free: 13.03 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.08334, allocations: 1.332 MB / 193 MB, free: 11.57 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.08338, allocations: 0 / 193 MB, free: 11.57 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.08456, allocations: 357.7 kB / 193.4 MB, free: 11.2 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.08477, allocations: 120.6 kB / 193.5 MB, free: 11.06 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.08486, allocations: 4 kB / 193.5 MB, free: 11.05 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.08521, allocations: 36.03 kB / 193.5 MB, free: 11.02 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.08537, allocations: 27.95 kB / 193.6 MB, free: 10.99 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.08541, allocations: 11.94 kB / 193.6 MB, free: 10.98 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003168/0.08574, allocations: 182 kB / 193.7 MB, free: 10.8 MB / 170.7 MB Notification: Performance of sort global known variables: time 4e-07/0.08575, allocations: 0 / 193.7 MB, free: 10.8 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005703/0.08633, allocations: 87.78 kB / 193.8 MB, free: 10.71 MB / 170.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: 4 ($whenCondition1,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 (18): * 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): 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.0001896/0.08653, allocations: 111.2 kB / 193.9 MB, free: 10.59 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.08768, allocations: 336 kB / 194.3 MB, free: 10.25 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.08771, allocations: 4 kB / 194.3 MB, free: 10.25 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005585/0.08828, allocations: 202.6 kB / 194.5 MB, free: 10.04 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.08886, allocations: 60.05 kB / 194.5 MB, free: 9.98 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.09078, allocations: 0.8164 MB / 195.3 MB, free: 9.129 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.09127, allocations: 0.7796 MB / 196.1 MB, free: 8.316 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.0914, allocations: 19.44 kB / 196.1 MB, free: 8.297 MB / 170.7 MB Notification: Performance of SimCode: time 1.222e-06/0.09141, allocations: 0 / 196.1 MB, free: 8.297 MB / 170.7 MB Notification: Performance of Templates: time 0.01055/0.102, allocations: 4.487 MB / 200.6 MB, free: 3.805 MB / 170.7 MB