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.269/1.269, allocations: 111.1 MB / 126.3 MB, free: 6.414 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.485e-05, allocations: 4 kB / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05176/0.0518, allocations: 25.18 MB / 179.7 MB, free: 9.625 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.00349/0.05535, allocations: 2.149 MB / 181.8 MB, free: 7.469 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.05682, allocations: 0.6005 MB / 182.4 MB, free: 6.867 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.05702, allocations: 8 kB / 182.4 MB, free: 6.859 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 9.811e-05/0.05713, allocations: 47.67 kB / 182.5 MB, free: 6.812 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.05745, allocations: 99.67 kB / 182.6 MB, free: 6.715 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.05779, allocations: 67.86 kB / 182.7 MB, free: 6.648 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.05817, allocations: 195.5 kB / 182.8 MB, free: 6.457 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.05837, allocations: 61.55 kB / 182.9 MB, free: 6.398 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.05853, allocations: 99.75 kB / 183 MB, free: 6.301 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.05877, allocations: 119.6 kB / 183.1 MB, free: 6.184 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.836e-05/0.05886, allocations: 12 kB / 183.1 MB, free: 6.172 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.05892, allocations: 12 kB / 183.1 MB, free: 6.16 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 6.732e-05/0.05899, allocations: 51.83 kB / 183.2 MB, free: 6.109 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 9.646e-05/0.0591, allocations: 28 kB / 183.2 MB, free: 6.082 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.05948, allocations: 255.5 kB / 183.5 MB, free: 5.832 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.0595, allocations: 0 / 183.5 MB, free: 5.832 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.05951, allocations: 0 / 183.5 MB, free: 5.832 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.05953, allocations: 0 / 183.5 MB, free: 5.832 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001279/0.06082, allocations: 0.5434 MB / 184 MB, free: 5.242 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.06088, allocations: 8.031 kB / 184 MB, free: 5.234 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.06099, allocations: 31.62 kB / 184.1 MB, free: 5.203 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.06144, allocations: 259.1 kB / 184.3 MB, free: 4.906 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.06156, allocations: 80.05 kB / 184.4 MB, free: 4.816 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.06164, allocations: 32 kB / 184.4 MB, free: 4.785 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.0624, allocations: 297.7 kB / 184.7 MB, free: 4.48 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.06243, allocations: 0 / 184.7 MB, free: 4.48 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.06248, allocations: 11.98 kB / 184.7 MB, free: 4.469 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.06251, allocations: 8 kB / 184.7 MB, free: 4.461 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.06309, allocations: 182.2 kB / 184.9 MB, free: 4.281 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.06569, allocations: 1.158 MB / 186.1 MB, free: 3.043 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.06621, allocations: 154.6 kB / 186.2 MB, free: 2.883 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.06625, allocations: 4 kB / 186.2 MB, free: 2.879 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003846/0.06665, allocations: 158.7 kB / 186.4 MB, free: 2.703 MB / 154.7 MB Notification: Performance of pre-optimization done (n=21): time 2.825e-06/0.06667, allocations: 0 / 186.4 MB, free: 2.703 MB / 154.7 MB Notification: Performance of matching and sorting (n=21): time 0.001705/0.06838, allocations: 395.5 kB / 186.8 MB, free: 2.289 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.06849, allocations: 110.8 kB / 186.9 MB, free: 2.156 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. [/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.000354/0.06885, allocations: 212 kB / 187.1 MB, free: 1.941 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.0689, allocations: 33.7 kB / 187.1 MB, free: 1.902 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.06909, allocations: 234.7 kB / 187.3 MB, free: 1.668 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.665e-05/0.06919, allocations: 71 kB / 187.4 MB, free: 1.598 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.06922, allocations: 4 kB / 187.4 MB, free: 1.594 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.06936, allocations: 322.8 kB / 187.7 MB, free: 1.27 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.06957, allocations: 59.97 kB / 187.8 MB, free: 1.211 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.06987, allocations: 136.6 kB / 187.9 MB, free: 1.047 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.07013, allocations: 76.72 kB / 188 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.07015, allocations: 4.031 kB / 188 MB, free: 0.9648 MB / 154.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007331/0.07089, allocations: 261.3 kB / 188.2 MB, free: 0.7031 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.07093, allocations: 4 kB / 188.3 MB, free: 0.6992 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.07095, allocations: 11.88 kB / 188.3 MB, free: 0.6875 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/0.07134, allocations: 57.03 kB / 188.3 MB, free: 0.6289 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.07175, allocations: 59.86 kB / 188.4 MB, free: 0.5703 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.07364, allocations: 1.409 MB / 189.8 MB, free: 15.03 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.07408, allocations: 43.67 kB / 189.8 MB, free: 14.99 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.07413, allocations: 16.19 kB / 189.8 MB, free: 14.97 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: 8 * 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 (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.0003044/0.07445, allocations: 154.9 kB / 190 MB, free: 14.81 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.07451, allocations: 23.77 kB / 190 MB, free: 14.79 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.07459, allocations: 26.17 kB / 190 MB, free: 14.76 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.07461, allocations: 4 kB / 190 MB, free: 14.75 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.07462, allocations: 4 kB / 190.1 MB, free: 14.75 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.07463, allocations: 0 / 190.1 MB, free: 14.75 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.07513, allocations: 329.3 kB / 190.4 MB, free: 14.38 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.07515, allocations: 0 / 190.4 MB, free: 14.38 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.07547, allocations: 35.94 kB / 190.4 MB, free: 14.34 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/0.0758, allocations: 60.75 kB / 190.5 MB, free: 14.28 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.07584, allocations: 4 kB / 190.5 MB, free: 14.28 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.0775, allocations: 1.324 MB / 191.8 MB, free: 12.82 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.07755, allocations: 4.031 kB / 191.8 MB, free: 12.82 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.07863, allocations: 336.5 kB / 192.1 MB, free: 12.48 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.0788, allocations: 108.8 kB / 192.2 MB, free: 12.35 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.07891, allocations: 11.98 kB / 192.2 MB, free: 12.34 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.07922, allocations: 19.98 kB / 192.3 MB, free: 12.32 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.07937, allocations: 27.95 kB / 192.3 MB, free: 12.29 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.07941, allocations: 7.984 kB / 192.3 MB, free: 12.29 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.07964, allocations: 160.5 kB / 192.5 MB, free: 12.13 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.07965, allocations: 4 kB / 192.5 MB, free: 12.13 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.08016, allocations: 75.84 kB / 192.5 MB, free: 12.05 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: 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.0001678/0.08033, allocations: 111.2 kB / 192.6 MB, free: 11.93 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0007757/0.08112, allocations: 286.5 kB / 192.9 MB, free: 11.64 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.08114, allocations: 0 / 192.9 MB, free: 11.64 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.08157, allocations: 199 kB / 193.1 MB, free: 11.43 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.08214, allocations: 56.31 kB / 193.2 MB, free: 11.38 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.08375, allocations: 0.7537 MB / 193.9 MB, free: 10.59 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.08418, allocations: 0.7677 MB / 194.7 MB, free: 9.793 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.08431, allocations: 23.44 kB / 194.7 MB, free: 9.77 MB / 170.7 MB Notification: Performance of SimCode: time 9.42e-07/0.08432, allocations: 0 / 194.7 MB, free: 9.77 MB / 170.7 MB Notification: Performance of Templates: time 0.009323/0.09365, allocations: 4.054 MB / 198.8 MB, free: 5.711 MB / 170.7 MB