Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_FirstExample_Variant3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_StateGraph2): time 2.185/2.185, allocations: 208.4 MB / 220.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.25e-05, allocations: 4 kB / 271.3 MB, free: 12.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3994, allocations: 47.78 MB / 319.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5561, allocations: 71.93 MB / 391 MB, free: 5.703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.5563, allocations: 51.97 kB / 391.1 MB, free: 5.652 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.5835, allocations: 4.975 MB / 396.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5835, allocations: 0 / 396.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.5836, allocations: 8 kB / 396.1 MB, free: 0.6367 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001229/0.5848, allocations: 0.5731 MB / 396.7 MB, free: 8 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.381e-05/0.5849, allocations: 12.08 kB / 396.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.5851, allocations: 82.47 kB / 396.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.5853, allocations: 43.53 kB / 396.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/0.5861, allocations: 306.5 kB / 397.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.5862, allocations: 62.7 kB / 397.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-05/0.5864, allocations: 43.95 kB / 397.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.5877, allocations: 477.1 kB / 397.7 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5877, allocations: 0 / 397.7 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.5878, allocations: 16 kB / 397.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.5879, allocations: 16 kB / 397.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.5892, allocations: 281.4 kB / 398 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/0.5949, allocations: 1.882 MB / 399.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.596, allocations: 405.7 kB / 400.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.5965, allocations: 78.09 kB / 400.3 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001902/0.5984, allocations: 0.7249 MB / 401 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/0.599, allocations: 170.7 kB / 401.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 4.749e-06/0.599, allocations: 0 / 401.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008849/0.5999, allocations: 210.5 kB / 401.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.6001, allocations: 158.4 kB / 401.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/0.6007, allocations: 233.7 kB / 401.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-05/0.6008, allocations: 33.7 kB / 401.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.6011, allocations: 208.2 kB / 402 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.6013, allocations: 47.41 kB / 402.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.6013, allocations: 12 kB / 402.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.6016, allocations: 334.8 kB / 402.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.6019, allocations: 72.86 kB / 402.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.6025, allocations: 215.5 kB / 402.7 MB, free: 9.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.6029, allocations: 121.5 kB / 402.8 MB, free: 9.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.603, allocations: 0 / 402.8 MB, free: 9.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001307/0.6043, allocations: 338.6 kB / 403.2 MB, free: 8.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.6044, allocations: 33.7 kB / 403.2 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.6045, allocations: 4 kB / 403.2 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-05/0.6045, allocations: 8 kB / 403.2 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.6048, allocations: 28.48 kB / 403.2 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.089e-05/0.6049, allocations: 15.94 kB / 403.2 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.6054, allocations: 23.92 kB / 403.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.6055, allocations: 20 kB / 403.3 MB, free: 8.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.onDelay.u,$PRE.step3.oldActive,step3.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.initialStep.oldActive,initialStep.oldActive,$whenCondition1,$whenCondition2,$whenCondition3,initialStep.active,$PRE.initialStep.newActive,initialStep.newActive,T1.condition,T1.enableFire,$PRE.step2.newActive,step2.newActive,step2.inport_fire,T2.enableFire,T2.conditionPort,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,onDelay.u,$PRE.onDelay.delaySignal,onDelay.delaySignal,$PRE.onDelay.t_next,onDelay.t_next,step3.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.node.resume,initialStep.node.suspend,T3.condition,step3.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection,initialStep.inPort[1].checkUnaryConnection,T2.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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.000358/0.6058, allocations: 175.8 kB / 403.5 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.606, allocations: 23.72 kB / 403.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009441/0.6069, allocations: 248.8 kB / 403.7 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.607, allocations: 4.109 kB / 403.7 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.607, allocations: 7.938 kB / 403.7 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.6071, allocations: 7.938 kB / 403.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.6093, allocations: 0.6639 MB / 404.4 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.6094, allocations: 0 / 404.4 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.6095, allocations: 7.938 kB / 404.4 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.6095, allocations: 0 / 404.4 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.6096, allocations: 8 kB / 404.4 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.6096, allocations: 0 / 404.4 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.6096, allocations: 3.984 kB / 404.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009178/0.6106, allocations: 320.9 kB / 404.7 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.6109, allocations: 108.8 kB / 404.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/0.611, allocations: 8 kB / 404.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.6114, allocations: 11.98 kB / 404.9 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.6116, allocations: 27.95 kB / 404.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.6117, allocations: 15.94 kB / 404.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.612, allocations: 144.6 kB / 405 MB, free: 6.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.6121, allocations: 0 / 405 MB, free: 6.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001018/0.6131, allocations: 60 kB / 405.1 MB, free: 6.848 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: 23 (T3.enableFire,$whenCondition1,$whenCondition2,$whenCondition3,initialStep.active,initialStep.newActive,initialStep.oldActive,T1.condition,T1.enableFire,step2.newActive,step2.oldActive,step2.inport_fire,T2.enableFire,T2.conditionPort,step3.newActive,step3.oldActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.t_start,onDelay.u,onDelay.delaySignal,onDelay.t_next) * Number of discrete states: 7 (initialStep.newActive,step2.newActive,step3.newActive,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001651/0.6148, allocations: 0.8743 MB / 406 MB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.6159, allocations: 251.1 kB / 406.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.616, allocations: 5.25 kB / 406.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.6165, allocations: 143.2 kB / 406.4 MB, free: 5.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.6171, allocations: 29.78 kB / 406.4 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.6195, allocations: 432.5 kB / 406.8 MB, free: 5.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007336/0.6203, allocations: 0.8074 MB / 407.6 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003547/0.6207, allocations: 38.95 kB / 407.7 MB, free: 4.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.6211, allocations: 99.39 kB / 407.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6211, allocations: 0 / 407.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/0.7282, allocations: 4.706 MB / 412.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003528/0.7286, allocations: 184.9 kB / 412.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.288, allocations: 0 / 412.6 MB, free: 15.19 MB / 362.7 MB