Notification: Performance of loadModel(Modelica): time 1.038/1.038, allocations: 111.2 MB / 118.4 MB, free: 15.57 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.251e-05, allocations: 4 kB / 145.9 MB, free: 4.039 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 25.16 MB / 171.1 MB, free: 1.738 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06399/0.1857, allocations: 36.4 MB / 207.5 MB, free: 1.094 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.186, allocations: 63.97 kB / 207.5 MB, free: 1.031 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.04452/0.2305, allocations: 9.707 MB / 217.2 MB, free: 7.293 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.977e-05/0.2306, allocations: 12 kB / 217.3 MB, free: 7.281 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.004269/0.2349, allocations: 0.9994 MB / 218.3 MB, free: 6.238 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.235, allocations: 12.03 kB / 218.3 MB, free: 6.227 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.2353, allocations: 71.16 kB / 218.3 MB, free: 6.156 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000876/0.2362, allocations: 415.3 kB / 218.7 MB, free: 5.707 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.511e-05/0.2363, allocations: 23.98 kB / 218.8 MB, free: 5.684 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.2365, allocations: 36 kB / 218.8 MB, free: 5.648 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001745/0.2382, allocations: 0.5533 MB / 219.4 MB, free: 5.094 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.2399, allocations: 0.6194 MB / 220 MB, free: 4.434 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.2399, allocations: 0 / 220 MB, free: 4.434 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2401, allocations: 0 / 220 MB, free: 4.434 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.2401, allocations: 16 kB / 220 MB, free: 4.418 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008085/0.2482, allocations: 3.039 MB / 223 MB, free: 1.27 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2501, allocations: 0.6667 MB / 223.7 MB, free: 0.5547 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/0.2509, allocations: 286.5 kB / 224 MB, free: 280 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.347e-05/0.251, allocations: 16.48 kB / 224 MB, free: 260 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008737/0.2519, allocations: 320.5 kB / 224.3 MB, free: 15.93 MB / 202.7 MB Notification: Performance of pre-optimization done (n=52): time 3.256e-06/0.252, allocations: 0 / 224.3 MB, free: 15.93 MB / 202.7 MB Notification: Performance of matching and sorting (n=52): time 0.001458/0.2534, allocations: 495.4 kB / 224.8 MB, free: 15.44 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.2535, allocations: 67.83 kB / 224.9 MB, free: 15.36 MB / 202.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:1077:5-1078:65:writable] Warning: Parameter VIN2.nperiod has no value, and is fixed during initialization (fixed=true), using available start value (start=-1) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:1077:5-1078:65:writable] Warning: Parameter VIN1.nperiod has no value, and is fixed during initialization (fixed=true), using available start value (start=-1) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/0.2543, allocations: 405 kB / 225.3 MB, free: 14.95 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.2544, allocations: 25.7 kB / 225.3 MB, free: 14.92 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.2547, allocations: 335.5 kB / 225.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.2549, allocations: 165.6 kB / 225.8 MB, free: 14.43 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.255, allocations: 4 kB / 225.8 MB, free: 14.42 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.2552, allocations: 366.8 kB / 226.1 MB, free: 14.05 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/0.2558, allocations: 221.6 kB / 226.3 MB, free: 13.84 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.2567, allocations: 440.5 kB / 226.8 MB, free: 13.32 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.2574, allocations: 253.9 kB / 227 MB, free: 13.07 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.2574, allocations: 4 kB / 227 MB, free: 13.06 MB / 202.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00195/0.2593, allocations: 0.7092 MB / 227.7 MB, free: 12.35 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.2594, allocations: 8 kB / 227.7 MB, free: 12.34 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.2594, allocations: 8 kB / 227.8 MB, free: 12.33 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/0.2595, allocations: 15.94 kB / 227.8 MB, free: 12.32 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.2617, allocations: 252.1 kB / 228 MB, free: 12.07 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/0.2618, allocations: 15.92 kB / 228 MB, free: 12.05 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.2636, allocations: 163.2 kB / 228.2 MB, free: 11.89 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.62e-05/0.2637, allocations: 32 kB / 228.2 MB, free: 11.86 MB / 202.7 MB Warning: Assuming fixed start value for the following 8 variables: VIN1.signalSource.counter:DISCRETE(start = VIN1.signalSource.nperiod fixed = false protected = true ) "Period counter" type: Integer VIN2.signalSource.counter:DISCRETE(start = VIN2.signalSource.nperiod fixed = false protected = true ) "Period counter" type: Integer Nand.C7.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Nand.C4.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real VIN2.signalSource.counter2:DISCRETE(start = VIN2.signalSource.nperiod fixed = false protected = true ) type: Integer VIN2.signalSource.T0:DISCRETE(start = VIN2.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real VIN1.signalSource.counter2:DISCRETE(start = VIN1.signalSource.nperiod fixed = false protected = true ) type: Integer VIN1.signalSource.T0:DISCRETE(start = VIN1.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VIN1.signalSource.counter,VIN1.signalSource.counter,$PRE.VIN2.signalSource.counter,VIN2.signalSource.counter,$whenCondition2,$whenCondition1,$PRE.VIN1.signalSource.T0,VIN1.signalSource.T0,$PRE.VIN1.signalSource.counter2,VIN1.signalSource.counter2,$PRE.VIN2.signalSource.T0,VIN2.signalSource.T0,$PRE.VIN2.signalSource.counter2,VIN2.signalSource.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003769/0.2641, allocations: 160.7 kB / 228.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001361/0.2655, allocations: 499.4 kB / 228.9 MB, free: 11.21 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.2656, allocations: 63.33 kB / 228.9 MB, free: 11.14 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.2659, allocations: 53.3 kB / 229 MB, free: 11.09 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.2659, allocations: 8 kB / 229 MB, free: 11.09 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2659, allocations: 0 / 229 MB, free: 11.09 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.266, allocations: 3.984 kB / 229 MB, free: 11.08 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.269, allocations: 1.295 MB / 230.3 MB, free: 9.75 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.269, allocations: 0 / 230.3 MB, free: 9.75 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.2707, allocations: 167.8 kB / 230.4 MB, free: 9.586 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.2707, allocations: 0 / 230.4 MB, free: 9.586 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/0.2708, allocations: 11.98 kB / 230.5 MB, free: 9.574 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.2708, allocations: 4 kB / 230.5 MB, free: 9.57 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.2709, allocations: 3.938 kB / 230.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.2731, allocations: 0.877 MB / 231.3 MB, free: 8.672 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.2733, allocations: 140.3 kB / 231.5 MB, free: 8.516 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.2735, allocations: 7.984 kB / 231.5 MB, free: 8.508 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.2748, allocations: 95.97 kB / 231.6 MB, free: 8.414 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.275, allocations: 48.36 kB / 231.6 MB, free: 8.367 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.2751, allocations: 15.98 kB / 231.6 MB, free: 8.352 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0005435/0.2757, allocations: 298.9 kB / 231.9 MB, free: 8.062 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.354e-06/0.2757, allocations: 0 / 231.9 MB, free: 8.062 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0008984/0.2766, allocations: 151.6 kB / 232.1 MB, free: 7.914 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VIN1.signalSource.T0,VIN1.signalSource.counter,VIN1.signalSource.counter2,VIN2.signalSource.T0,VIN2.signalSource.counter,VIN2.signalSource.counter2) * Number of discrete states: 4 (VIN1.signalSource.counter2,VIN2.signalSource.counter2,VIN1.signalSource.counter,VIN2.signalSource.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002571/0.2792, allocations: 1.434 MB / 233.5 MB, free: 6.449 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.2808, allocations: 0.566 MB / 234.1 MB, free: 5.887 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2808, allocations: 1.812 kB / 234.1 MB, free: 5.887 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.2816, allocations: 269.5 kB / 234.4 MB, free: 5.625 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/0.2824, allocations: 73.98 kB / 234.4 MB, free: 5.555 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.2854, allocations: 0.8863 MB / 235.3 MB, free: 4.621 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.286, allocations: 0.8784 MB / 236.2 MB, free: 3.715 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0007373/0.2867, allocations: 72.66 kB / 236.3 MB, free: 3.641 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.2874, allocations: 203.4 kB / 236.5 MB, free: 3.445 MB / 202.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2874, allocations: 0 / 236.5 MB, free: 3.445 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06971/0.3571, allocations: 10.55 MB / 247 MB, free: 8.957 MB / 218.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.003544/0.3607, allocations: 130.5 kB / 247.1 MB, free: 8.766 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.129/3.49, allocations: 1.25 kB / 247.1 MB, free: 8.766 MB / 218.7 MB