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.049/1.049, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.397e-05/2.403e-05, allocations: 4 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1443, allocations: 25.16 MB / 176.5 MB, free: 32 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08106/0.2254, allocations: 36.7 MB / 213.2 MB, free: 12.75 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/0.2258, allocations: 63.97 kB / 213.3 MB, free: 12.69 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03396/0.2598, allocations: 5.811 MB / 219.1 MB, free: 6.855 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.945e-06/0.2599, allocations: 4 kB / 219.1 MB, free: 6.852 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.656e-05/0.2599, allocations: 8 kB / 219.1 MB, free: 6.844 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001063/0.261, allocations: 0.5626 MB / 219.7 MB, free: 6.234 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.261, allocations: 8.031 kB / 219.7 MB, free: 6.227 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2611, allocations: 39.53 kB / 219.7 MB, free: 6.188 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.2616, allocations: 267.6 kB / 220 MB, free: 5.883 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.2617, allocations: 80.17 kB / 220.1 MB, free: 5.793 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.2618, allocations: 28.34 kB / 220.1 MB, free: 5.766 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007302/0.2625, allocations: 326.6 kB / 220.4 MB, free: 5.43 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2625, allocations: 0 / 220.4 MB, free: 5.43 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.2626, allocations: 16 kB / 220.4 MB, free: 5.414 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.2626, allocations: 8 kB / 220.5 MB, free: 5.406 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.2632, allocations: 193 kB / 220.6 MB, free: 5.219 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.2659, allocations: 1.403 MB / 222 MB, free: 3.715 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.2664, allocations: 158.6 kB / 222.2 MB, free: 3.551 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.2666, allocations: 73.64 kB / 222.3 MB, free: 3.477 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.2667, allocations: 7.953 kB / 222.3 MB, free: 3.469 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.267, allocations: 154.1 kB / 222.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 3.083e-06/0.2671, allocations: 0 / 222.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007277/0.2678, allocations: 213.1 kB / 222.6 MB, free: 3.082 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/0.2679, allocations: 106.8 kB / 222.7 MB, free: 2.953 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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.2683, allocations: 243 kB / 223 MB, free: 2.711 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.2684, allocations: 29.7 kB / 223 MB, free: 2.676 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.2686, allocations: 258.2 kB / 223.3 MB, free: 2.422 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.2687, allocations: 59.16 kB / 223.3 MB, free: 2.363 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.2687, allocations: 4 kB / 223.3 MB, free: 2.359 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2689, allocations: 330.8 kB / 223.6 MB, free: 2.027 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.2691, allocations: 56 kB / 223.7 MB, free: 1.973 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.2693, allocations: 142.5 kB / 223.8 MB, free: 1.793 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.2695, allocations: 76.64 kB / 223.9 MB, free: 1.719 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.2696, allocations: 0 / 223.9 MB, free: 1.719 MB / 186.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008547/0.2704, allocations: 282.2 kB / 224.2 MB, free: 1.434 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2705, allocations: 8 kB / 224.2 MB, free: 1.426 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.2705, allocations: 0 / 224.2 MB, free: 1.426 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000305/0.2708, allocations: 61.09 kB / 224.3 MB, free: 1.363 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.2712, allocations: 87.83 kB / 224.3 MB, free: 1.277 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.273, allocations: 1.401 MB / 225.7 MB, free: 15.74 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.2734, allocations: 51.67 kB / 225.8 MB, free: 15.69 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.2735, allocations: 8 kB / 225.8 MB, free: 15.68 MB / 202.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: 10 * 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 (34): * Single equations (assignments): 33 * 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.0002093/0.2737, allocations: 142 kB / 225.9 MB, free: 15.54 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.2737, allocations: 23.72 kB / 226 MB, free: 15.52 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.424e-05/0.2738, allocations: 37.95 kB / 226 MB, free: 15.47 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-06/0.2739, allocations: 3.938 kB / 226 MB, free: 15.47 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2739, allocations: 0 / 226 MB, free: 15.47 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.767e-06/0.2739, allocations: 3.953 kB / 226 MB, free: 15.46 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.2744, allocations: 341.2 kB / 226.3 MB, free: 15.09 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2744, allocations: 0 / 226.3 MB, free: 15.09 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.2748, allocations: 55.97 kB / 226.4 MB, free: 15.03 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002507/0.2751, allocations: 52.81 kB / 226.4 MB, free: 14.98 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.2751, allocations: 8 kB / 226.5 MB, free: 14.97 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.2767, allocations: 1.32 MB / 227.8 MB, free: 13.52 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.125e-06/0.2767, allocations: 3.953 kB / 227.8 MB, free: 13.51 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.2775, allocations: 314.1 kB / 228.1 MB, free: 13.18 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.2777, allocations: 116.8 kB / 228.2 MB, free: 13.05 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.2778, allocations: 8 kB / 228.2 MB, free: 13.04 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.278, allocations: 19.98 kB / 228.2 MB, free: 13.02 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.2782, allocations: 35.89 kB / 228.3 MB, free: 12.99 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.2782, allocations: 8 kB / 228.3 MB, free: 12.98 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.2785, allocations: 183.2 kB / 228.4 MB, free: 12.8 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.2785, allocations: 3.938 kB / 228.5 MB, free: 12.8 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005454/0.2791, allocations: 91.73 kB / 228.5 MB, free: 12.71 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: 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.0001717/0.2793, allocations: 108 kB / 228.6 MB, free: 12.59 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.2799, allocations: 273.8 kB / 228.9 MB, free: 12.32 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.183e-06/0.2799, allocations: 0.5625 kB / 228.9 MB, free: 12.32 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.2803, allocations: 183.2 kB / 229.1 MB, free: 12.13 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.2808, allocations: 64.25 kB / 229.2 MB, free: 12.07 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.2819, allocations: 486.8 kB / 229.6 MB, free: 11.57 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.2824, allocations: 0.7757 MB / 230.4 MB, free: 10.76 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.2825, allocations: 23.44 kB / 230.4 MB, free: 10.74 MB / 202.7 MB Notification: Performance of SimCode: time 1.404e-06/0.2825, allocations: 0 / 230.4 MB, free: 10.74 MB / 202.7 MB Notification: Performance of Templates: time 0.008475/0.291, allocations: 4.503 MB / 234.9 MB, free: 6.238 MB / 202.7 MB