Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.776/2.776, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.121e-05, allocations: 3.125 kB / 249.7 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 44.51 MB / 294.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5352/0.6441, allocations: 84.75 MB / 379 MB, free: 6.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/0.6446, allocations: 70.52 kB / 379.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1798/0.8244, allocations: 32.81 MB / 411.9 MB, free: 9.965 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.8245, allocations: 0 / 411.9 MB, free: 9.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.376e-05/0.8245, allocations: 12 kB / 411.9 MB, free: 9.953 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002918/0.8275, allocations: 1.041 MB / 412.9 MB, free: 8.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.8275, allocations: 8.031 kB / 412.9 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.8277, allocations: 58.48 kB / 413 MB, free: 8.793 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.828, allocations: 114.6 kB / 413.1 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.8304, allocations: 0.752 MB / 413.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.8305, allocations: 8.562 kB / 413.9 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.714e-05/0.8306, allocations: 16 kB / 413.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007732/0.8314, allocations: 209.1 kB / 414.1 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/0.8322, allocations: 266.5 kB / 414.3 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.8322, allocations: 0 / 414.3 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/0.8323, allocations: 3.953 kB / 414.3 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.8323, allocations: 11.98 kB / 414.4 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.8358, allocations: 1.133 MB / 415.5 MB, free: 6.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.8365, allocations: 178.6 kB / 415.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.837, allocations: 209.6 kB / 415.9 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0209/0.8579, allocations: 10.78 MB / 426.7 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.858, allocations: 42.5 kB / 426.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.997e-06/0.8581, allocations: 0 / 426.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001344/0.8594, allocations: 325.2 kB / 427 MB, free: 8.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.8595, allocations: 81.11 kB / 427.1 MB, free: 8.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.8611, allocations: 0.5972 MB / 427.7 MB, free: 8.117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.8612, allocations: 25.7 kB / 427.7 MB, free: 8.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006794/0.8619, allocations: 440.2 kB / 428.1 MB, free: 7.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.862, allocations: 74.84 kB / 428.2 MB, free: 7.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.8621, allocations: 0 / 428.2 MB, free: 7.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.8622, allocations: 325.9 kB / 428.5 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.8625, allocations: 52.23 kB / 428.6 MB, free: 7.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.8628, allocations: 130.2 kB / 428.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.8631, allocations: 79.77 kB / 428.8 MB, free: 6.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.8632, allocations: 4.031 kB / 428.8 MB, free: 6.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001194/0.8644, allocations: 359 kB / 429.1 MB, free: 6.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.8644, allocations: 10.19 kB / 429.2 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-05/0.8645, allocations: 12 kB / 429.2 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006915/0.8652, allocations: 133.1 kB / 429.3 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.8656, allocations: 35.92 kB / 429.3 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.8669, allocations: 0.724 MB / 430.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.8676, allocations: 31.78 kB / 430.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/0.8677, allocations: 15.98 kB / 430.1 MB, free: 5.617 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: J1.Dinternal: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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.868, allocations: 116.9 kB / 430.2 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.8682, allocations: 98.83 kB / 430.3 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.87, allocations: 404.9 kB / 430.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.87, allocations: 0 / 430.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8701, allocations: 4 kB / 430.7 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.8701, allocations: 3.984 kB / 430.7 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.8714, allocations: 471 kB / 431.2 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.886e-05/0.8714, allocations: 15.94 kB / 431.2 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.8717, allocations: 15.98 kB / 431.2 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006161/0.8724, allocations: 139.1 kB / 431.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.8724, allocations: 7.984 kB / 431.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.8737, allocations: 0.7153 MB / 432.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.8737, allocations: 7.969 kB / 432.1 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.8749, allocations: 428 kB / 432.5 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.8753, allocations: 171.9 kB / 432.7 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.8755, allocations: 7.938 kB / 432.7 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/0.8761, allocations: 7.953 kB / 432.7 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.8762, allocations: 15.97 kB / 432.7 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.8763, allocations: 12 kB / 432.7 MB, free: 2.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.8775, allocations: 474.9 kB / 433.2 MB, free: 2.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.8775, allocations: 0 / 433.2 MB, free: 2.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001294/0.8788, allocations: 207.5 kB / 433.4 MB, free: 2.227 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002466/0.8813, allocations: 1.196 MB / 434.6 MB, free: 1.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009442/0.8823, allocations: 255 kB / 434.8 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8823, allocations: 0 / 434.8 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.8829, allocations: 163.9 kB / 435 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.884, allocations: 120.2 kB / 435.1 MB, free: 488 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.8879, allocations: 0.972 MB / 436.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008427/0.8888, allocations: 0.9604 MB / 437 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007397/0.8895, allocations: 93.92 kB / 437.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006698/0.8902, allocations: 327.3 kB / 437.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8902, allocations: 4 kB / 437.4 MB, free: 14.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1897/1.08, allocations: 15.64 MB / 453.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004692/1.08, allocations: 150.6 kB / 453.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.229/5.309, allocations: 0 / 453.2 MB, free: 14.24 MB / 362.7 MB