Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.SingleTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_SingleTD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PNlib): time 2.055/2.055, allocations: 222.9 MB / 235 MB, free: 9.246 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.098e-05, allocations: 4 kB / 289.7 MB, free: 3.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 51.68 MB / 341.4 MB, free: 196 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5468, allocations: 76.95 MB / 418.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.5471, allocations: 66.52 kB / 418.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007445/0.5546, allocations: 1.9 MB / 420.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5547, allocations: 3.938 kB / 420.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.5547, allocations: 8 kB / 420.3 MB, free: 11.46 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005575/0.5553, allocations: 400 kB / 420.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5553, allocations: 12.03 kB / 420.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.5554, allocations: 38.56 kB / 420.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.5555, allocations: 15.81 kB / 420.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.5558, allocations: 206.5 kB / 420.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.5558, allocations: 8 kB / 420.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.5558, allocations: 11.94 kB / 421 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.5561, allocations: 124.8 kB / 421.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5562, allocations: 4 kB / 421.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.5562, allocations: 4 kB / 421.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.5562, allocations: 4 kB / 421.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.5564, allocations: 47.92 kB / 421.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.5573, allocations: 0.7397 MB / 421.9 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.5575, allocations: 77.3 kB / 422 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.5576, allocations: 33.61 kB / 422 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.5577, allocations: 0 / 422 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.5578, allocations: 81.2 kB / 422.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.5579, allocations: 0 / 422.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002945/0.5582, allocations: 115.2 kB / 422.2 MB, free: 9.324 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.5583, allocations: 106.8 kB / 422.3 MB, free: 9.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.5585, allocations: 157.4 kB / 422.4 MB, free: 9.035 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.5585, allocations: 29.7 kB / 422.5 MB, free: 9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.5586, allocations: 111.9 kB / 422.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.5587, allocations: 19.75 kB / 422.6 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.5587, allocations: 4 kB / 422.6 MB, free: 8.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5589, allocations: 326.8 kB / 422.9 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.36e-05/0.5589, allocations: 24 kB / 422.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.5591, allocations: 74.77 kB / 423 MB, free: 8.414 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.5592, allocations: 66.17 kB / 423.1 MB, free: 8.344 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.5592, allocations: 0 / 423.1 MB, free: 8.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003589/0.5596, allocations: 163.1 kB / 423.2 MB, free: 8.172 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.5597, allocations: 33.69 kB / 423.3 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5597, allocations: 4.188 kB / 423.3 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.5597, allocations: 8 kB / 423.3 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.5599, allocations: 19.94 kB / 423.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.5599, allocations: 0 / 423.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.56, allocations: 15.89 kB / 423.3 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.5601, allocations: 4 kB / 423.3 MB, free: 8.082 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.active,T1.active,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,T1.firingCon,T1.enabledByInPlaces,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000211/0.5603, allocations: 156.9 kB / 423.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.5603, allocations: 23.73 kB / 423.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.5604, allocations: 16.98 kB / 423.5 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5604, allocations: 128 / 423.5 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5604, allocations: 7.938 kB / 423.5 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.5605, allocations: 4 kB / 423.5 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.561, allocations: 384.1 kB / 423.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.561, allocations: 0 / 423.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.5611, allocations: 7.984 kB / 423.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5611, allocations: 4 kB / 423.9 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.5611, allocations: 8 kB / 423.9 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5612, allocations: 3.938 kB / 423.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.5612, allocations: 0 / 423.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.5615, allocations: 223.7 kB / 424.1 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.5615, allocations: 92.92 kB / 424.2 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.5616, allocations: 8 kB / 424.2 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5617, allocations: 7.984 kB / 424.2 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.5618, allocations: 11.98 kB / 424.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.5618, allocations: 4 kB / 424.3 MB, free: 7.016 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.5619, allocations: 115.3 kB / 424.4 MB, free: 6.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5619, allocations: 0 / 424.4 MB, free: 6.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.5623, allocations: 16 kB / 424.4 MB, free: 6.887 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (T1.fireTime,T1.ani,T1.active,$whenCondition1,T1.firingTime,T1.delayPassed,T1.activation.active) * Number of discrete states: 2 (T1.activation.active,T1.delayPassed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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.0006375/0.563, allocations: 0.8477 MB / 425.2 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.5633, allocations: 115.3 kB / 425.4 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5633, allocations: 4 kB / 425.4 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.5634, allocations: 83.7 kB / 425.4 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.5637, allocations: 12 kB / 425.5 MB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.5644, allocations: 188.8 kB / 425.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.5648, allocations: 0.7043 MB / 426.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.06e-05/0.5649, allocations: 20.81 kB / 426.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.565, allocations: 31.42 kB / 426.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/0.565, allocations: 0 / 426.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.5858, allocations: 2.088 MB / 428.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.5862, allocations: 123.5 kB / 428.6 MB, free: 2.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.807, allocations: 4.062 kB / 428.6 MB, free: 2.516 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.SingleTD_res.mat does not exist to compare? outputFormat=mat