Running command: "" <> buildModelFMU(ConPNlib.Examples.Test4,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ConPNlib): time 0.009986/0.009985, allocations: 1.39 MB / 13.54 MB, free: 1.762 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.351e-05, allocations: 0.5625 kB / 16.87 MB, free: 4.406 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006468/0.0007008, allocations: 360.5 kB / 17.22 MB, free: 4.121 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005104/0.00582, allocations: 4.032 MB / 21.25 MB, free: 112 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001302/0.006006, allocations: 47.98 kB / 21.3 MB, free: 64 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.04629/0.05231, allocations: 9.201 MB / 30.5 MB, free: 1.109 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.734e-06/0.05237, allocations: 0 / 30.5 MB, free: 1.109 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.703e-05/0.05242, allocations: 9.406 kB / 30.51 MB, free: 1.102 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00165/0.05408, allocations: 0.7513 MB / 31.26 MB, free: 304 kB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.05415, allocations: 8.312 kB / 31.27 MB, free: 296 kB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.05441, allocations: 118.6 kB / 31.38 MB, free: 168 kB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.0546, allocations: 72.11 kB / 31.45 MB, free: 96 kB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/0.06896, allocations: 384.7 kB / 31.83 MB, free: 1.773 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.06909, allocations: 52.97 kB / 31.88 MB, free: 1.773 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.06927, allocations: 69.91 kB / 31.95 MB, free: 1.773 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.07126, allocations: 0.8721 MB / 32.82 MB, free: 1.691 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.07131, allocations: 1.125 kB / 32.82 MB, free: 1.691 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.07142, allocations: 29.73 kB / 32.85 MB, free: 1.691 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.07156, allocations: 48.38 kB / 32.9 MB, free: 1.688 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.07295, allocations: 0.5852 MB / 33.48 MB, free: 1.688 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.07617, allocations: 1.583 MB / 35.07 MB, free: 1.23 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/0.07693, allocations: 419.8 kB / 35.48 MB, free: 1.109 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.07744, allocations: 252.5 kB / 35.72 MB, free: 1.094 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008801/0.07833, allocations: 0.8608 MB / 36.58 MB, free: 6.359 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.07838, allocations: 46.53 kB / 36.63 MB, free: 6.312 MB / 24.79 MB Notification: Performance of pre-optimization done (n=33): time 3.727e-06/0.0784, allocations: 0 / 36.63 MB, free: 6.312 MB / 24.79 MB Notification: Performance of matching and sorting (n=33): time 0.001343/0.07975, allocations: 0.5641 MB / 37.19 MB, free: 6.062 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.07991, allocations: 176.1 kB / 37.37 MB, free: 5.867 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.08025, allocations: 249 kB / 37.61 MB, free: 5.719 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.08033, allocations: 34.61 kB / 37.64 MB, free: 5.684 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.08055, allocations: 277.9 kB / 37.91 MB, free: 5.48 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.08071, allocations: 109.4 kB / 38.02 MB, free: 5.41 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.08077, allocations: 11.09 kB / 38.03 MB, free: 5.402 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.08095, allocations: 344.2 kB / 38.37 MB, free: 5.074 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.08146, allocations: 215.9 kB / 38.58 MB, free: 5.008 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.08211, allocations: 323.7 kB / 38.9 MB, free: 4.801 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.08273, allocations: 289.5 kB / 39.18 MB, free: 4.629 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.08275, allocations: 3.656 kB / 39.18 MB, free: 4.629 MB / 24.79 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001772/0.08453, allocations: 0.6882 MB / 39.87 MB, free: 4.008 MB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.08465, allocations: 80.94 kB / 39.95 MB, free: 3.922 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.08468, allocations: 5.969 kB / 39.95 MB, free: 3.918 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/0.08665, allocations: 265.3 kB / 40.21 MB, free: 3.727 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.08702, allocations: 58.48 kB / 40.27 MB, free: 3.676 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.08809, allocations: 0.7504 MB / 41.02 MB, free: 2.957 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.08853, allocations: 55.3 kB / 41.08 MB, free: 2.906 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.08865, allocations: 43.16 kB / 41.12 MB, free: 2.875 MB / 24.79 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.P1.fireOut[1],P1.emptying,P2.outTransition[1].arcType,P1.feeding,P1.outTransition[1].arcType,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T1.activation.arcType[1],T1.activation.fed[1],T2.activation.arcType[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000319/0.08898, allocations: 220.1 kB / 41.33 MB, free: 2.652 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.0891, allocations: 35.05 kB / 41.37 MB, free: 2.621 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.09098, allocations: 0.7193 MB / 42.09 MB, free: 1.992 MB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.09103, allocations: 4 kB / 42.09 MB, free: 1.988 MB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.09105, allocations: 0 / 42.09 MB, free: 1.988 MB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.09108, allocations: 8 kB / 42.1 MB, free: 1.98 MB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.09362, allocations: 1.21 MB / 43.31 MB, free: 0.8984 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.09365, allocations: 0 / 43.31 MB, free: 0.8984 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.09392, allocations: 27.52 kB / 43.33 MB, free: 0.875 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.09541, allocations: 291.7 kB / 43.62 MB, free: 0.6562 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.09549, allocations: 16.45 kB / 43.64 MB, free: 0.6445 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/0.1106, allocations: 0.7769 MB / 44.41 MB, free: 6.543 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1107, allocations: 3.281 kB / 44.42 MB, free: 6.543 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.1128, allocations: 0.9753 MB / 45.39 MB, free: 6.34 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.1129, allocations: 102.2 kB / 45.49 MB, free: 6.246 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.113, allocations: 23.89 kB / 45.51 MB, free: 6.246 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.1134, allocations: 38.2 kB / 45.55 MB, free: 6.246 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.1137, allocations: 87.2 kB / 45.64 MB, free: 6.246 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/0.1138, allocations: 22.19 kB / 45.66 MB, free: 6.246 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0002155/0.114, allocations: 171.5 kB / 45.83 MB, free: 6.168 MB / 24.79 MB Notification: Performance of sort global known variables: time 4.2e-07/0.114, allocations: 0 / 45.83 MB, free: 6.168 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0008561/0.1149, allocations: 196.4 kB / 46.02 MB, free: 6.168 MB / 24.79 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 11 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1]) * Number of discrete states: 8 (P2.fireOut[1],P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002688/0.1176, allocations: 1.668 MB / 47.69 MB, free: 5.438 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.1192, allocations: 0.7074 MB / 48.39 MB, free: 5.312 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1192, allocations: 0 / 48.39 MB, free: 5.312 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.12, allocations: 444.3 kB / 48.83 MB, free: 5.18 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1204, allocations: 31.94 kB / 48.86 MB, free: 5.18 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.1231, allocations: 1.059 MB / 49.92 MB, free: 4.941 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.1236, allocations: 0.9473 MB / 50.86 MB, free: 4.246 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.000343/0.1239, allocations: 74.02 kB / 50.94 MB, free: 4.246 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.1242, allocations: 165.3 kB / 51.1 MB, free: 4.207 MB / 24.79 MB Notification: Performance of SimCode: time 1.413e-06/0.1242, allocations: 0 / 51.1 MB, free: 4.207 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05515/0.1793, allocations: 10.24 MB / 61.33 MB, free: 5.145 MB / 24.79 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/0.1797, allocations: 147.5 kB / 61.48 MB, free: 4.918 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/2.867, allocations: 0 / 61.48 MB, free: 4.918 MB / 24.79 MB