Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_InvertersApartRecord",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.307e-05, allocations: 7.984 kB / 225.1 MB, free: 2.141 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2811, allocations: 38.76 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.4639, allocations: 93.96 MB / 357.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.4643, allocations: 71.97 kB / 357.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6744/1.139, allocations: 127.4 MB / 485.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.139, allocations: 4 kB / 485.3 MB, free: 3.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001017/1.139, allocations: 48 kB / 485.3 MB, free: 3.105 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.007681/1.147, allocations: 2.702 MB / 488 MB, free: 352 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/1.147, allocations: 8.031 kB / 488 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002689/1.147, allocations: 102.5 kB / 488.1 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008181/1.148, allocations: 399.2 kB / 488.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00676/1.155, allocations: 2.364 MB / 490.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/1.155, allocations: 40.95 kB / 490.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/1.155, allocations: 52 kB / 491 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/1.157, allocations: 0.791 MB / 491.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/1.157, allocations: 0 / 491.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.157, allocations: 27.94 kB / 491.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/1.157, allocations: 19.98 kB / 491.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/1.159, allocations: 0.7111 MB / 492.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009193/1.168, allocations: 3.196 MB / 495.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/1.169, allocations: 485 kB / 496.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/1.171, allocations: 0.5927 MB / 496.8 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3017/1.472, allocations: 36.17 MB / 0.5205 GB, free: 37.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007419/1.473, allocations: 319.7 kB / 0.5208 GB, free: 37.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 4.028e-06/1.473, allocations: 0 / 0.5208 GB, free: 37.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.002033/1.475, allocations: 0.7999 MB / 0.5216 GB, free: 37.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/1.475, allocations: 276.5 kB / 0.5218 GB, free: 37.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/1.481, allocations: 2.512 MB / 0.5243 GB, free: 36.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/1.481, allocations: 35.77 kB / 0.5243 GB, free: 36.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/1.483, allocations: 1.5 MB / 0.5258 GB, free: 36.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/1.483, allocations: 171.9 kB / 0.5259 GB, free: 36.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/1.483, allocations: 21.78 kB / 0.526 GB, free: 36.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/1.483, allocations: 339.3 kB / 0.5263 GB, free: 36.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/1.484, allocations: 189.1 kB / 0.5265 GB, free: 36.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/1.486, allocations: 0.5974 MB / 0.527 GB, free: 35.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/1.486, allocations: 284 kB / 0.5273 GB, free: 35.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/1.486, allocations: 3.969 kB / 0.5273 GB, free: 35.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002404/1.489, allocations: 1.124 MB / 0.5284 GB, free: 35.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/1.489, allocations: 12.03 kB / 0.5284 GB, free: 35.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/1.489, allocations: 85.3 kB / 0.5285 GB, free: 35.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.456e-05/1.489, allocations: 19.5 kB / 0.5285 GB, free: 35.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.49, allocations: 217.3 kB / 0.5287 GB, free: 35.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.949e-05/1.49, allocations: 25.25 kB / 0.5288 GB, free: 35.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/1.492, allocations: 127.9 kB / 0.5289 GB, free: 35.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.493, allocations: 67.42 kB / 0.5289 GB, free: 35.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002472/1.493, allocations: 168 kB / 0.5291 GB, free: 35.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005579/1.493, allocations: 385.8 kB / 0.5295 GB, free: 35.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/1.498, allocations: 1.143 MB / 0.5306 GB, free: 34.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.498, allocations: 7.781 kB / 0.5306 GB, free: 34.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/1.498, allocations: 2.844 kB / 0.5306 GB, free: 34.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/1.498, allocations: 3.844 kB / 0.5306 GB, free: 34.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/1.503, allocations: 2.115 MB / 0.5327 GB, free: 34.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000143/1.503, allocations: 74.88 kB / 0.5327 GB, free: 34.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/1.504, allocations: 104.5 kB / 0.5328 GB, free: 34.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.504, allocations: 2.656 kB / 0.5328 GB, free: 34.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/1.504, allocations: 32.44 kB / 0.5329 GB, free: 34.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.504, allocations: 5.656 kB / 0.5329 GB, free: 34.58 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.504, allocations: 0 / 0.5329 GB, free: 34.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/1.506, allocations: 1.213 MB / 0.5341 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/1.508, allocations: 0.5452 MB / 0.5346 GB, free: 33.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009278/1.509, allocations: 17.25 kB / 0.5346 GB, free: 33.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.511, allocations: 46.75 kB / 0.5347 GB, free: 33.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/1.511, allocations: 62.91 kB / 0.5347 GB, free: 33.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.511, allocations: 38.06 kB / 0.5348 GB, free: 33.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004532/1.516, allocations: 1.923 MB / 0.5366 GB, free: 33.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.244e-06/1.516, allocations: 0 / 0.5366 GB, free: 33.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00274/1.519, allocations: 0.6515 MB / 0.5373 GB, free: 33.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004745/1.524, allocations: 2.633 MB / 0.5398 GB, free: 32.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/1.525, allocations: 0.7081 MB / 0.5405 GB, free: 32.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.526, allocations: 0 / 0.5405 GB, free: 32.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007807/1.526, allocations: 395.7 kB / 0.5409 GB, free: 32.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.529, allocations: 0.493 MB / 0.5414 GB, free: 32.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.54, allocations: 3.639 MB / 0.5449 GB, free: 31.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.541, allocations: 1.736 MB / 0.5466 GB, free: 30.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002248/1.544, allocations: 381.1 kB / 0.547 GB, free: 30.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/1.546, allocations: 1.215 MB / 0.5482 GB, free: 30.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/1.546, allocations: 1.203 kB / 0.5482 GB, free: 30.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/1.692, allocations: 58.94 MB / 0.6057 GB, free: 5.633 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/1.692, allocations: 162.9 kB / 0.6059 GB, free: 5.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.313/8.005, allocations: 0 / 0.6059 GB, free: 5.406 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat does not exist to compare? outputFormat=mat