Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.592e-05/4.589e-05, allocations: 6.5 kB / 292.7 MB, free: 8.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 50.42 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.6091, allocations: 78.77 MB / 421.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.6095, allocations: 66.28 kB / 422 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01187/0.6213, allocations: 2.76 MB / 424.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6214, allocations: 2.844 kB / 424.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.6214, allocations: 4 kB / 424.8 MB, free: 12.65 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006513/0.6221, allocations: 411.3 kB / 425.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6222, allocations: 8.031 kB / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.43e-05/0.6222, allocations: 48.48 kB / 425.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.6224, allocations: 11.91 kB / 425.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.6226, allocations: 201.8 kB / 425.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.6227, allocations: 15.67 kB / 425.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.6227, allocations: 7.5 kB / 425.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.623, allocations: 111 kB / 425.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.623, allocations: 3.953 kB / 425.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.6231, allocations: 6.938 kB / 425.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.6231, allocations: 7.984 kB / 425.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.6233, allocations: 72.64 kB / 425.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.6246, allocations: 0.595 MB / 426.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.625, allocations: 77.95 kB / 426.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/0.6251, allocations: 27.17 kB / 426.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.6251, allocations: 11.94 kB / 426.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.6252, allocations: 38.06 kB / 426.4 MB, free: 11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.955e-06/0.6252, allocations: 0 / 426.4 MB, free: 11 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004515/0.6256, allocations: 105.3 kB / 426.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.6257, allocations: 55.41 kB / 426.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.6259, allocations: 129.5 kB / 426.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.6259, allocations: 25.7 kB / 426.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.598e-05/0.626, allocations: 126.7 kB / 426.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.6261, allocations: 23.16 kB / 426.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-06/0.6261, allocations: 3.938 kB / 426.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6262, allocations: 326.4 kB / 427.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.6263, allocations: 20.38 kB / 427.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.6264, allocations: 37.52 kB / 427.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.6265, allocations: 26.59 kB / 427.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6265, allocations: 4 kB / 427.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003992/0.6269, allocations: 126.7 kB / 427.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.6269, allocations: 7.953 kB / 427.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.627, allocations: 4 kB / 427.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.6272, allocations: 34.95 kB / 427.4 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.6274, allocations: 8 kB / 427.4 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.6295, allocations: 1.515 MB / 428.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.6297, allocations: 14.92 kB / 429 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.6297, allocations: 0 / 429 MB, free: 8.426 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.6298, allocations: 112.3 kB / 429.1 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.6299, allocations: 7.906 kB / 429.1 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.6299, allocations: 11.94 kB / 429.1 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.6299, allocations: 4 kB / 429.1 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.63, allocations: 0 / 429.1 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.63, allocations: 3.984 kB / 429.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.6303, allocations: 210.4 kB / 429.3 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6303, allocations: 4 kB / 429.3 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.6304, allocations: 3.312 kB / 429.3 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.6306, allocations: 35.66 kB / 429.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6307, allocations: 3.984 kB / 429.3 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.6324, allocations: 1.492 MB / 430.8 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6325, allocations: 128 / 430.8 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.6329, allocations: 220.3 kB / 431.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.633, allocations: 81.02 kB / 431.1 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.633, allocations: 0 / 431.1 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.6332, allocations: 11.95 kB / 431.1 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.6333, allocations: 16.14 kB / 431.2 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.6333, allocations: 4 kB / 431.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.6334, allocations: 110.8 kB / 431.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6334, allocations: 0 / 431.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005155/0.6339, allocations: 39.59 kB / 431.3 MB, free: 6.016 MB / 346.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 (2): * Single equations (assignments): 1 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007281/0.6347, allocations: 0.7462 MB / 432.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.6351, allocations: 162.3 kB / 432.2 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6352, allocations: 0 / 432.2 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.6354, allocations: 143 kB / 432.4 MB, free: 4.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.6357, allocations: 19.09 kB / 432.4 MB, free: 4.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.6365, allocations: 186.4 kB / 432.6 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.6368, allocations: 0.7198 MB / 433.3 MB, free: 4.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.224e-05/0.6369, allocations: 8.906 kB / 433.3 MB, free: 4.012 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.637, allocations: 29.61 kB / 433.3 MB, free: 4 MB / 346.7 MB Notification: Performance of SimCode: time 3.276e-06/0.637, allocations: 0 / 433.3 MB, free: 4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.6645, allocations: 2.525 MB / 435.8 MB, free: 1.562 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/0.665, allocations: 187.6 kB / 436 MB, free: 1.328 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.112, allocations: 0 / 436 MB, free: 1.328 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat does not exist to compare? outputFormat=mat