Notification: Performance of loadModel(Modelica): time 1.034/1.034, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.957e-05, allocations: 6.969 kB / 145.9 MB, free: 4.043 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1573, allocations: 25.15 MB / 171.1 MB, free: 1.734 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06882/0.2261, allocations: 36.03 MB / 207.1 MB, free: 1.469 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.2265, allocations: 63.97 kB / 207.2 MB, free: 1.406 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.02934/0.2559, allocations: 5.734 MB / 212.9 MB, free: 11.65 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.571e-05/0.256, allocations: 8 kB / 212.9 MB, free: 11.64 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.001237/0.2572, allocations: 0.5616 MB / 213.5 MB, free: 11.03 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.2573, allocations: 8.031 kB / 213.5 MB, free: 11.02 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2574, allocations: 43.52 kB / 213.5 MB, free: 10.98 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.2578, allocations: 271.5 kB / 213.8 MB, free: 10.67 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/0.258, allocations: 64.19 kB / 213.8 MB, free: 10.59 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.258, allocations: 24.34 kB / 213.9 MB, free: 10.57 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005318/0.2586, allocations: 189.4 kB / 214.1 MB, free: 10.39 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.2592, allocations: 266.7 kB / 214.3 MB, free: 10.11 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2593, allocations: 0 / 214.3 MB, free: 10.11 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.2593, allocations: 0 / 214.3 MB, free: 10.11 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.2594, allocations: 11.98 kB / 214.3 MB, free: 10.09 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.2623, allocations: 1.332 MB / 215.7 MB, free: 8.676 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.2629, allocations: 162.6 kB / 215.8 MB, free: 8.508 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.2631, allocations: 72.84 kB / 215.9 MB, free: 8.434 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.2631, allocations: 4 kB / 215.9 MB, free: 8.43 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.2634, allocations: 141.3 kB / 216 MB, free: 8.273 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 2.424e-06/0.2634, allocations: 0 / 216 MB, free: 8.273 MB / 186.7 MB Notification: Performance of matching and sorting (n=19): time 0.000775/0.2642, allocations: 202.4 kB / 216.2 MB, free: 8.066 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.2643, allocations: 106.8 kB / 216.3 MB, free: 7.938 MB / 186.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.0003078/0.2646, allocations: 199 kB / 216.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.2647, allocations: 33.64 kB / 216.6 MB, free: 7.703 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.2649, allocations: 207.7 kB / 216.8 MB, free: 7.496 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.265, allocations: 67.09 kB / 216.8 MB, free: 7.43 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.265, allocations: 0 / 216.8 MB, free: 7.43 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2651, allocations: 338.8 kB / 217.2 MB, free: 7.09 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2653, allocations: 48 kB / 217.2 MB, free: 7.043 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.2655, allocations: 142.3 kB / 217.3 MB, free: 6.863 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.2658, allocations: 68.59 kB / 217.4 MB, free: 6.797 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2658, allocations: 4 kB / 217.4 MB, free: 6.793 MB / 186.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008777/0.2667, allocations: 281.9 kB / 217.7 MB, free: 6.508 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2667, allocations: 4 kB / 217.7 MB, free: 6.504 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.2667, allocations: 12.27 kB / 217.7 MB, free: 6.492 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.2671, allocations: 56.81 kB / 217.8 MB, free: 6.434 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.2677, allocations: 83.89 kB / 217.8 MB, free: 6.352 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.2693, allocations: 1.361 MB / 219.2 MB, free: 4.875 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.2698, allocations: 39.77 kB / 219.2 MB, free: 4.836 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.2699, allocations: 11.98 kB / 219.3 MB, free: 4.824 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch2.v:VARIABLE(unit = "V" ) 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.0002167/0.2701, allocations: 134 kB / 219.4 MB, free: 4.688 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006505/0.2708, allocations: 202.2 kB / 219.6 MB, free: 4.48 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.2708, allocations: 15.81 kB / 219.6 MB, free: 4.465 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.168e-05/0.2709, allocations: 25.95 kB / 219.6 MB, free: 4.441 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2709, allocations: 3.938 kB / 219.6 MB, free: 4.438 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.271, allocations: 0 / 219.6 MB, free: 4.438 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.271, allocations: 0 / 219.6 MB, free: 4.438 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.2714, allocations: 301.8 kB / 219.9 MB, free: 4.105 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2714, allocations: 0 / 219.9 MB, free: 4.105 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.2719, allocations: 63.95 kB / 220 MB, free: 4.043 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/0.2722, allocations: 52.81 kB / 220 MB, free: 3.988 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.2722, allocations: 4 kB / 220 MB, free: 3.984 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.2737, allocations: 1.285 MB / 221.3 MB, free: 2.586 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2737, allocations: 0 / 221.3 MB, free: 2.586 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.2746, allocations: 301.4 kB / 221.6 MB, free: 2.273 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.2747, allocations: 120.7 kB / 221.7 MB, free: 2.137 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.2748, allocations: 8.125 kB / 221.7 MB, free: 2.129 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.2752, allocations: 19.98 kB / 221.8 MB, free: 2.109 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.2753, allocations: 11.97 kB / 221.8 MB, free: 2.098 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.2753, allocations: 11.98 kB / 221.8 MB, free: 2.086 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.2755, allocations: 148.5 kB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2755, allocations: 0 / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005729/0.2761, allocations: 91.67 kB / 222 MB, free: 1.855 MB / 186.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.00124/0.2773, allocations: 0.8367 MB / 222.9 MB, free: 0.9805 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.2781, allocations: 269.6 kB / 223.1 MB, free: 0.707 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2781, allocations: 0 / 223.1 MB, free: 0.707 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.2785, allocations: 173.7 kB / 223.3 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.2789, allocations: 36.97 kB / 223.3 MB, free: 0.4922 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2803, allocations: 0.4931 MB / 223.8 MB, free: 15.96 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.2807, allocations: 0.7753 MB / 224.6 MB, free: 15.16 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.000186/0.2809, allocations: 22.08 kB / 224.6 MB, free: 15.14 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.2811, allocations: 91.41 kB / 224.7 MB, free: 15.05 MB / 202.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2812, allocations: 0 / 224.7 MB, free: 15.05 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.3261, allocations: 4.559 MB / 229.3 MB, free: 10.53 MB / 202.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004412/0.3305, allocations: 143.6 kB / 229.4 MB, free: 10.34 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.055/3.386, allocations: 7.375 kB / 229.4 MB, free: 10.34 MB / 202.7 MB