Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.793e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5491/0.6804, allocations: 96.88 MB / 0.4954 GB, free: 7.172 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.6808, allocations: 63.97 kB / 0.4954 GB, free: 7.109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1464/0.8272, allocations: 29.26 MB / 0.524 GB, free: 9.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.8273, allocations: 0 / 0.524 GB, free: 9.762 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.936e-05/0.8274, allocations: 28.31 kB / 0.524 GB, free: 9.734 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003003/0.8304, allocations: 0.9543 MB / 0.5249 GB, free: 8.734 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.8305, allocations: 12.03 kB / 0.525 GB, free: 8.723 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.8307, allocations: 86.45 kB / 0.525 GB, free: 8.629 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.8309, allocations: 90.97 kB / 0.5251 GB, free: 8.539 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.8327, allocations: 0.5781 MB / 0.5257 GB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.8327, allocations: 37 kB / 0.5257 GB, free: 7.883 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.8329, allocations: 63.89 kB / 0.5258 GB, free: 7.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.8343, allocations: 0.5413 MB / 0.5263 GB, free: 7.223 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.8344, allocations: 0 / 0.5263 GB, free: 7.223 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/0.8345, allocations: 20 kB / 0.5263 GB, free: 7.203 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.8345, allocations: 8 kB / 0.5263 GB, free: 7.195 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.8356, allocations: 360.9 kB / 0.5267 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/0.8416, allocations: 2.671 MB / 0.5293 GB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.8428, allocations: 428.2 kB / 0.5297 GB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.8433, allocations: 211 kB / 0.5299 GB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.52e-05/0.8434, allocations: 4.234 kB / 0.5299 GB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.8435, allocations: 46.72 kB / 0.5299 GB, free: 3.344 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.366e-06/0.8435, allocations: 4 kB / 0.53 GB, free: 3.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002213/0.8457, allocations: 0.8023 MB / 0.5307 GB, free: 2.531 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.8458, allocations: 106.8 kB / 0.5308 GB, free: 2.402 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.8468, allocations: 0.5467 MB / 0.5314 GB, free: 1.848 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/0.8469, allocations: 33.7 kB / 0.5314 GB, free: 1.809 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.8473, allocations: 356.8 kB / 0.5317 GB, free: 1.457 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.8476, allocations: 185.4 kB / 0.5319 GB, free: 1.273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.8477, allocations: 16 kB / 0.5319 GB, free: 1.258 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8478, allocations: 326 kB / 0.5322 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.8485, allocations: 209.5 kB / 0.5324 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007627/0.8492, allocations: 351.3 kB / 0.5328 GB, free: 332 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007104/0.85, allocations: 258.8 kB / 0.533 GB, free: 76 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.85, allocations: 4 kB / 0.533 GB, free: 72 kB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001828/0.8518, allocations: 0.6693 MB / 0.5337 GB, free: 15.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008331/0.8527, allocations: 1.745 MB / 0.5354 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.8527, allocations: 4 kB / 0.5354 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.8528, allocations: 8 kB / 0.5354 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.8548, allocations: 207.8 kB / 0.5356 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.8548, allocations: 15.94 kB / 0.5356 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.8559, allocations: 75.64 kB / 0.5357 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.856, allocations: 28 kB / 0.5357 GB, free: 13.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.856, allocations: 11.92 kB / 0.5357 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001615/0.8576, allocations: 0.5689 MB / 0.5363 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8576, allocations: 8.094 kB / 0.5363 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.8577, allocations: 15.97 kB / 0.5363 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.8595, allocations: 203.7 kB / 0.5365 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.8596, allocations: 8 kB / 0.5365 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/0.8605, allocations: 87.55 kB / 0.5366 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/0.8606, allocations: 31.98 kB / 0.5366 GB, free: 12.26 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.000226/0.8609, allocations: 144.7 kB / 0.5368 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.8611, allocations: 79.02 kB / 0.5368 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.8614, allocations: 86.91 kB / 0.5369 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.8614, allocations: 4 kB / 0.5369 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8614, allocations: 7.938 kB / 0.5369 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.8615, allocations: 3.984 kB / 0.5369 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.8642, allocations: 1.187 MB / 0.5381 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8642, allocations: 0 / 0.5381 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.8657, allocations: 119.8 kB / 0.5382 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.8657, allocations: 0 / 0.5382 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/0.8658, allocations: 19.98 kB / 0.5382 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.8658, allocations: 8.062 kB / 0.5382 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.8658, allocations: 0 / 0.5382 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.868, allocations: 1.025 MB / 0.5392 GB, free: 9.461 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.8684, allocations: 200.2 kB / 0.5394 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.8686, allocations: 20 kB / 0.5394 GB, free: 9.227 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.8696, allocations: 59.94 kB / 0.5395 GB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.8698, allocations: 43.88 kB / 0.5395 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.8699, allocations: 12 kB / 0.5396 GB, free: 9.113 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008363/0.8707, allocations: 431.1 kB / 0.54 GB, free: 8.699 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8707, allocations: 0 / 0.54 GB, free: 8.699 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001307/0.872, allocations: 227.9 kB / 0.5402 GB, free: 8.477 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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 Backend phase and start with SimCode phase: time 0.002849/0.8749, allocations: 1.906 MB / 0.542 GB, free: 6.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.8773, allocations: 0.8103 MB / 0.5428 GB, free: 5.707 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.8773, allocations: 4 kB / 0.5428 GB, free: 5.703 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006424/0.8779, allocations: 227 kB / 0.5431 GB, free: 5.484 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.8796, allocations: 165.3 kB / 0.5432 GB, free: 5.324 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.8843, allocations: 1.406 MB / 0.5446 GB, free: 3.852 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.8852, allocations: 0.9673 MB / 0.5455 GB, free: 2.852 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001333/0.8865, allocations: 207.2 kB / 0.5457 GB, free: 2.648 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/0.8871, allocations: 251.3 kB / 0.546 GB, free: 2.406 MB / 458.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8871, allocations: 0 / 0.546 GB, free: 2.406 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09339/0.9805, allocations: 15.29 MB / 0.5609 GB, free: 3.234 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/0.9808, allocations: 161 kB / 0.5611 GB, free: 3.004 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/4.176, allocations: 0 / 0.5611 GB, free: 3.004 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat