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.72/1.72, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.072e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.289, allocations: 38.77 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.5022, allocations: 93.96 MB / 357.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5025, allocations: 71.95 kB / 357.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6663/1.169, allocations: 127.4 MB / 485.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.169, allocations: 0 / 485.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.239e-05/1.169, allocations: 44 kB / 485.3 MB, free: 3.121 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.007909/1.177, allocations: 2.713 MB / 488.1 MB, free: 356 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/1.177, allocations: 8.031 kB / 488.1 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003346/1.177, allocations: 98.5 kB / 488.2 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/1.178, allocations: 403.2 kB / 488.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006951/1.185, allocations: 2.356 MB / 490.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/1.185, allocations: 44.94 kB / 491 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/1.186, allocations: 55.94 kB / 491 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/1.188, allocations: 0.7813 MB / 491.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/1.188, allocations: 0 / 491.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/1.188, allocations: 20 kB / 491.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/1.188, allocations: 27.92 kB / 491.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/1.19, allocations: 0.7053 MB / 492.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009823/1.2, allocations: 3.196 MB / 495.7 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/1.201, allocations: 491.8 kB / 496.2 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.202, allocations: 0.5928 MB / 496.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3185/1.521, allocations: 36.16 MB / 0.5205 GB, free: 37.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006826/1.521, allocations: 319.4 kB / 0.5208 GB, free: 37.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.947e-06/1.522, allocations: 0 / 0.5208 GB, free: 37.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.002146/1.524, allocations: 0.8053 MB / 0.5216 GB, free: 37.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.524, allocations: 270.8 kB / 0.5218 GB, free: 36.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005602/1.529, allocations: 2.512 MB / 0.5243 GB, free: 36.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000184/1.53, allocations: 40.08 kB / 0.5243 GB, free: 36.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/1.531, allocations: 1.502 MB / 0.5258 GB, free: 36.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/1.532, allocations: 167.8 kB / 0.5259 GB, free: 36.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/1.532, allocations: 18.16 kB / 0.526 GB, free: 36.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.111e-05/1.532, allocations: 342.9 kB / 0.5263 GB, free: 35.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/1.533, allocations: 187.1 kB / 0.5265 GB, free: 35.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007597/1.533, allocations: 0.5891 MB / 0.527 GB, free: 35.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/1.534, allocations: 288.6 kB / 0.5273 GB, free: 35.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.534, allocations: 6.625 kB / 0.5273 GB, free: 35.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002532/1.537, allocations: 1.095 MB / 0.5284 GB, free: 35.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/1.537, allocations: 8.906 kB / 0.5284 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/1.537, allocations: 82.47 kB / 0.5285 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-05/1.537, allocations: 19.78 kB / 0.5285 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/1.538, allocations: 211.8 kB / 0.5287 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/1.538, allocations: 28.55 kB / 0.5287 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/1.54, allocations: 123.1 kB / 0.5288 GB, free: 35.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.541, allocations: 69.66 kB / 0.5289 GB, free: 35.16 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.0002715/1.541, allocations: 168 kB / 0.5291 GB, free: 35.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006583/1.542, allocations: 384.5 kB / 0.5294 GB, free: 34.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/1.546, allocations: 1.146 MB / 0.5306 GB, free: 34.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.546, allocations: 7 kB / 0.5306 GB, free: 34.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.546, allocations: 3.656 kB / 0.5306 GB, free: 34.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.546, allocations: 0 / 0.5306 GB, free: 34.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004806/1.551, allocations: 2.119 MB / 0.5326 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001605/1.551, allocations: 69.97 kB / 0.5327 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009204/1.552, allocations: 103.6 kB / 0.5328 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/1.552, allocations: 3.219 kB / 0.5328 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-05/1.552, allocations: 38.27 kB / 0.5328 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/1.552, allocations: 3.656 kB / 0.5328 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.552, allocations: 2.625 kB / 0.5329 GB, free: 34.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/1.555, allocations: 1.213 MB / 0.534 GB, free: 33.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.556, allocations: 0.5486 MB / 0.5346 GB, free: 33.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005875/1.557, allocations: 9.781 kB / 0.5346 GB, free: 33.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.558, allocations: 50.02 kB / 0.5346 GB, free: 33.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/1.558, allocations: 61.55 kB / 0.5347 GB, free: 33.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.558, allocations: 43.17 kB / 0.5347 GB, free: 33.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004/1.562, allocations: 1.919 MB / 0.5366 GB, free: 33.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.314e-06/1.563, allocations: 0 / 0.5366 GB, free: 33.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002626/1.565, allocations: 0.6532 MB / 0.5372 GB, free: 33.36 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.004419/1.57, allocations: 2.621 MB / 0.5398 GB, free: 32.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/1.571, allocations: 0.6918 MB / 0.5405 GB, free: 32.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.571, allocations: 3.5 kB / 0.5405 GB, free: 32.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007595/1.572, allocations: 389.7 kB / 0.5409 GB, free: 32.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/1.575, allocations: 0.4993 MB / 0.5413 GB, free: 32.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.586, allocations: 3.643 MB / 0.5449 GB, free: 30.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.587, allocations: 1.728 MB / 0.5466 GB, free: 30.24 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002369/1.589, allocations: 386.1 kB / 0.547 GB, free: 30.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/1.591, allocations: 1.21 MB / 0.5481 GB, free: 30.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/1.592, allocations: 0 / 0.5481 GB, free: 30.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2571/1.849, allocations: 58.9 MB / 0.6056 GB, free: 5.324 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/1.849, allocations: 168.9 kB / 0.6058 GB, free: 5.094 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.89/7.739, allocations: 0 / 0.6058 GB, free: 5.094 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