Running command: "" <> buildModelFMU(PNlib.Examples.ConTest.SingleTC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_SingleTC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PNlib): time 2.137/2.137, allocations: 222.9 MB / 235 MB, free: 9.258 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.406e-05, allocations: 4 kB / 289.7 MB, free: 3.977 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 51.67 MB / 341.4 MB, free: 208 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/0.5412, allocations: 77.13 MB / 418.5 MB, free: 13.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5415, allocations: 67.95 kB / 418.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008515/0.5501, allocations: 2.269 MB / 420.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5501, allocations: 7.875 kB / 420.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.5501, allocations: 4 kB / 420.8 MB, free: 10.82 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004536/0.5506, allocations: 408.3 kB / 421.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.5507, allocations: 8.031 kB / 421.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.5507, allocations: 38.56 kB / 421.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.5508, allocations: 7.906 kB / 421.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.5511, allocations: 207.4 kB / 421.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.5511, allocations: 4 kB / 421.5 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.5511, allocations: 8 kB / 421.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.5514, allocations: 110.6 kB / 421.6 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5514, allocations: 0 / 421.6 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.5514, allocations: 4 kB / 421.6 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5515, allocations: 0 / 421.6 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.5516, allocations: 47.92 kB / 421.7 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.5525, allocations: 0.7405 MB / 422.4 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.5527, allocations: 54.61 kB / 422.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.5528, allocations: 16.98 kB / 422.5 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.5528, allocations: 0 / 422.5 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5529, allocations: 42.45 kB / 422.5 MB, free: 8.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.5529, allocations: 4 kB / 422.5 MB, free: 8.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002853/0.5532, allocations: 99.3 kB / 422.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.5533, allocations: 77.11 kB / 422.7 MB, free: 8.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.5535, allocations: 153.4 kB / 422.8 MB, free: 8.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5535, allocations: 25.7 kB / 422.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.5536, allocations: 119.9 kB / 423 MB, free: 8.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.5536, allocations: 19.75 kB / 423 MB, free: 8.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.5536, allocations: 4 kB / 423 MB, free: 8.379 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5538, allocations: 322.8 kB / 423.3 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.759e-05/0.5539, allocations: 20.03 kB / 423.3 MB, free: 8.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.554, allocations: 48.3 kB / 423.4 MB, free: 7.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.5541, allocations: 65.61 kB / 423.5 MB, free: 7.902 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5541, allocations: 0 / 423.5 MB, free: 7.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003118/0.5544, allocations: 135.2 kB / 423.6 MB, free: 7.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.5545, allocations: 33.7 kB / 423.6 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5545, allocations: 7.938 kB / 423.6 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5545, allocations: 4 kB / 423.6 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.5546, allocations: 12 kB / 423.6 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.5547, allocations: 4.062 kB / 423.6 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.5547, allocations: 15.89 kB / 423.7 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.5548, allocations: 8 kB / 423.7 MB, free: 7.668 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (T1.firingCon,T1.fire,T1.activation.active,T1.activation.NoTokens,T1.fire_) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001127/0.5549, allocations: 134.6 kB / 423.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.555, allocations: 11.91 kB / 423.8 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.5553, allocations: 153.6 kB / 424 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5553, allocations: 3.953 kB / 424 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5554, allocations: 0 / 424 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5554, allocations: 0 / 424 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.5556, allocations: 201.5 kB / 424.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5556, allocations: 64 / 424.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.5556, allocations: 8 kB / 424.2 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5556, allocations: 0 / 424.2 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.5557, allocations: 4 kB / 424.2 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5557, allocations: 0 / 424.2 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5557, allocations: 11.89 kB / 424.2 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.5559, allocations: 130.6 kB / 424.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.556, allocations: 85.02 kB / 424.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.5561, allocations: 4 kB / 424.4 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.5561, allocations: 0 / 424.4 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.5562, allocations: 11.94 kB / 424.4 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.5562, allocations: 4 kB / 424.4 MB, free: 6.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.5563, allocations: 128 kB / 424.5 MB, free: 6.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.044e-06/0.5564, allocations: 4 kB / 424.5 MB, free: 6.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.5567, allocations: 35.92 kB / 424.6 MB, free: 6.625 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: 3 (T1.fire,T1.activation.active,T1.activation.NoTokens) * Number of discrete states: 2 (T1.activation.active,T1.activation.NoTokens) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005866/0.5573, allocations: 0.6842 MB / 425.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.5576, allocations: 111.4 kB / 425.4 MB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5576, allocations: 4.125 kB / 425.4 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.5577, allocations: 67.41 kB / 425.4 MB, free: 5.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.5579, allocations: 8.188 kB / 425.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.5598, allocations: 422.8 kB / 425.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.5601, allocations: 0.7043 MB / 426.6 MB, free: 4.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.5603, allocations: 56.42 kB / 426.6 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.5604, allocations: 43.41 kB / 426.7 MB, free: 4.418 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5604, allocations: 0 / 426.7 MB, free: 4.418 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.5809, allocations: 2.3 MB / 429 MB, free: 2.176 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.5812, allocations: 129.1 kB / 429.1 MB, free: 1.969 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/2.812, allocations: 0 / 429.1 MB, free: 1.969 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ConTest.SingleTC_res.mat does not exist to compare? outputFormat=mat