Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Sequence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_StateGraph2): time 2.315/2.315, allocations: 208.4 MB / 220.6 MB, free: 15.44 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.174e-05/5.189e-05, allocations: 4 kB / 271.3 MB, free: 12.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3446, allocations: 47.77 MB / 319.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4825, allocations: 71.78 MB / 390.9 MB, free: 5.871 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.4828, allocations: 47.98 kB / 390.9 MB, free: 5.824 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.01689/0.4997, allocations: 3.967 MB / 394.9 MB, free: 1.828 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4997, allocations: 4 kB / 394.9 MB, free: 1.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.18e-05/0.4998, allocations: 4 kB / 394.9 MB, free: 1.82 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007761/0.5006, allocations: 482.9 kB / 395.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.5007, allocations: 8.031 kB / 395.4 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.5008, allocations: 66.53 kB / 395.5 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.5009, allocations: 31.62 kB / 395.5 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.5015, allocations: 274.5 kB / 395.8 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.5015, allocations: 24.78 kB / 395.8 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.5016, allocations: 27.95 kB / 395.8 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.5024, allocations: 347.8 kB / 396.1 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.5025, allocations: 3.938 kB / 396.2 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/0.5026, allocations: 12 kB / 396.2 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.5026, allocations: 8 kB / 396.2 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.5032, allocations: 189 kB / 396.4 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.5055, allocations: 1.315 MB / 397.7 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.5059, allocations: 269 kB / 397.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.506, allocations: 40.86 kB / 398 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.5062, allocations: 89.09 kB / 398.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.5062, allocations: 34.56 kB / 398.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.935e-06/0.5062, allocations: 0 / 398.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003936/0.5066, allocations: 123.6 kB / 398.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.5067, allocations: 67.25 kB / 398.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.507, allocations: 190.2 kB / 398.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.5071, allocations: 33.7 kB / 398.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.5072, allocations: 172 kB / 398.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.5073, allocations: 27.61 kB / 398.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.5073, allocations: 12 kB / 398.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5075, allocations: 334.8 kB / 399 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.5077, allocations: 47.86 kB / 399.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.5079, allocations: 141.7 kB / 399.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.5081, allocations: 69.94 kB / 399.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5081, allocations: 0 / 399.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005709/0.5087, allocations: 229.5 kB / 399.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5087, allocations: 4 kB / 399.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.5088, allocations: 4 kB / 399.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.5088, allocations: 11.94 kB / 399.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.5089, allocations: 23.86 kB / 399.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.509, allocations: 8 kB / 399.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.5092, allocations: 8 kB / 399.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.5092, allocations: 16 kB / 399.6 MB, free: 12.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.step1.oldActive,step1.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,step1.active,$PRE.step1.newActive,step1.newActive,step1.outport_fire,T1.condition,T1.enableFire,step2.active,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.condition,T2.enableFire,step3.active,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step1.node.resume,step1.node.suspend,step3.outport_fire,step1.inport_fire,step3.inPort[1].checkUnaryConnection,step1.outPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 prepare postOptimizeDAE: time 0.0001634/0.5094, allocations: 143.5 kB / 399.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.5095, allocations: 15.81 kB / 399.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.5099, allocations: 141.8 kB / 399.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5099, allocations: 0 / 399.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5099, allocations: 3.984 kB / 399.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5099, allocations: 0 / 399.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.5108, allocations: 0.4905 MB / 400.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5109, allocations: 4 kB / 400.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.5109, allocations: 3.938 kB / 400.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.5109, allocations: 7.984 kB / 400.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.511, allocations: 0 / 400.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.511, allocations: 0 / 400.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/0.511, allocations: 7.938 kB / 400.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.5113, allocations: 227.8 kB / 400.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.5115, allocations: 96.91 kB / 400.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.5115, allocations: 8 kB / 400.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.5117, allocations: 4 kB / 400.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.5118, allocations: 19.91 kB / 400.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.5118, allocations: 15.89 kB / 400.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.512, allocations: 125.2 kB / 400.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.512, allocations: 0 / 400.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004912/0.5125, allocations: 43.98 kB / 400.9 MB, free: 11.3 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: 17 (step1.outport_fire,step2.outport_fire,step1.active,step1.newActive,step1.oldActive,T1.condition,T1.enableFire,step2.active,step2.newActive,step2.oldActive,step2.inport_fire,T2.condition,T2.enableFire,step3.active,step3.newActive,step3.oldActive,step3.inport_fire) * Number of discrete states: 3 (step3.newActive,step2.newActive,step1.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.000785/0.5133, allocations: 0.7694 MB / 401.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.5137, allocations: 127.8 kB / 401.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5138, allocations: 0.9375 kB / 401.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.5139, allocations: 47.94 kB / 401.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.5142, allocations: 28.11 kB / 401.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.5153, allocations: 316.5 kB / 402.2 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.5158, allocations: 0.7675 MB / 403 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.5159, allocations: 26.06 kB / 403 MB, free: 9.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.5161, allocations: 75.41 kB / 403.1 MB, free: 9.062 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5161, allocations: 0 / 403.1 MB, free: 9.062 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.55, allocations: 3.489 MB / 406.6 MB, free: 5.621 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003111/0.5503, allocations: 166.9 kB / 406.7 MB, free: 5.395 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.035, allocations: 7.875 kB / 406.7 MB, free: 5.387 MB / 346.7 MB