Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions2,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_StateGraph2): time 2.2/2.2, allocations: 208.4 MB / 220.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.554e-05, allocations: 0 / 271.3 MB, free: 12.58 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3457, allocations: 47.77 MB / 319.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4836, allocations: 72.03 MB / 391.1 MB, free: 5.602 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.4838, allocations: 47.98 kB / 391.2 MB, free: 5.555 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.03178/0.5156, allocations: 7.968 MB / 399.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.1e-06/0.5157, allocations: 3.984 kB / 399.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.459e-05/0.5158, allocations: 20 kB / 399.2 MB, free: 13.54 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001621/0.5174, allocations: 0.7294 MB / 399.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.5175, allocations: 15.98 kB / 399.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002344/0.5177, allocations: 114.5 kB / 400 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.5179, allocations: 75.16 kB / 400.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5191, allocations: 433.9 kB / 400.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.863e-05/0.5192, allocations: 54 kB / 400.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.5194, allocations: 79.97 kB / 400.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.5213, allocations: 0.7731 MB / 401.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.5213, allocations: 7.938 kB / 401.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.5214, allocations: 31.98 kB / 401.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.738e-05/0.5215, allocations: 21.31 kB / 401.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.5229, allocations: 494.4 kB / 402 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005374/0.5283, allocations: 3.1 MB / 405.1 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009487/0.5293, allocations: 0.6692 MB / 405.8 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.5296, allocations: 120.8 kB / 405.9 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.5298, allocations: 89.11 kB / 406 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004624/0.5303, allocations: 185.8 kB / 406.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 4.148e-06/0.5303, allocations: 3.938 kB / 406.1 MB, free: 6.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008996/0.5312, allocations: 313.5 kB / 406.5 MB, free: 5.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.5313, allocations: 191.9 kB / 406.6 MB, free: 5.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.5319, allocations: 346 kB / 407 MB, free: 5.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.86e-05/0.532, allocations: 49.78 kB / 407 MB, free: 5.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.5323, allocations: 284.2 kB / 407.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.5325, allocations: 106.8 kB / 407.4 MB, free: 4.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.5325, allocations: 12 kB / 407.4 MB, free: 4.676 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5327, allocations: 362.7 kB / 407.8 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.5331, allocations: 137.5 kB / 407.9 MB, free: 4.176 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.5338, allocations: 407.1 kB / 408.3 MB, free: 3.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.5342, allocations: 183.2 kB / 408.5 MB, free: 3.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.5343, allocations: 4 kB / 408.5 MB, free: 3.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001372/0.5357, allocations: 0.5496 MB / 409 MB, free: 2.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.5357, allocations: 8 kB / 409 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.5357, allocations: 16.08 kB / 409.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.69e-05/0.5358, allocations: 12 kB / 409.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.536, allocations: 43.8 kB / 409.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.215e-05/0.5361, allocations: 19.92 kB / 409.1 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.5366, allocations: 39.98 kB / 409.2 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.5367, allocations: 35.98 kB / 409.2 MB, free: 2.754 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.T5.enableFire,$PRE.initialStep.oldActive,initialStep.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,$PRE.step4.oldActive,step4.oldActive,$PRE.step1.oldActive,step1.oldActive,initialStep.node.resume,initialStep.node.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,initialStep.outport_fire,T1.fire,T1.enableFire,$PRE.T1.t_start,T1.t_start,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.fire,T2.enableFire,$PRE.T2.t_start,T2.t_start,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,$PRE.step4.newActive,step4.newActive,step4.inport_fire,step4.outport_fire,T4.fire,T4.enableFire,$PRE.T4.t_start,T4.t_start,T5.fire,T5.enableFire,$PRE.T5.t_start,T5.t_start,$PRE.step1.newActive,step1.newActive,step1.inport_fire,step1.outport_fire,$PRE.risingEdge.u,risingEdge.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.fallingEdge.not_u,fallingEdge.not_u,set1.expr[1],set1.expr[2],T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,T5.outPort.checkOneDelayedTransitionPerLoop,step1.outPort[1].checkOneDelayedTransitionPerLoop,step1.inPort[1].checkUnaryConnection,T4.outPort.checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,step4.inPort[1].checkUnaryConnection,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,T1.outPort.checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * 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.0002759/0.537, allocations: 200.1 kB / 409.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.5371, allocations: 39.53 kB / 409.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009189/0.538, allocations: 349.4 kB / 409.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.5381, allocations: 12 kB / 409.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.5381, allocations: 0 / 409.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5381, allocations: 3.984 kB / 409.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.5404, allocations: 0.9867 MB / 410.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5405, allocations: 0 / 410.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.5406, allocations: 15.94 kB / 410.8 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.5406, allocations: 3.984 kB / 410.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.5407, allocations: 11.95 kB / 410.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.5407, allocations: 0 / 410.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5407, allocations: 4 kB / 410.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.5415, allocations: 422.8 kB / 411.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.5417, allocations: 136.6 kB / 411.4 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.338e-05/0.5418, allocations: 12 kB / 411.4 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.5422, allocations: 31.92 kB / 411.4 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.5424, allocations: 51.92 kB / 411.5 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.5425, allocations: 11.94 kB / 411.5 MB, free: 392 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003123/0.5428, allocations: 210.2 kB / 411.7 MB, free: 180 kB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5428, allocations: 0 / 411.7 MB, free: 180 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008009/0.5436, allocations: 103.9 kB / 411.8 MB, free: 76 kB / 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: 46 (initialStep.inport_fire,initialStep.outport_fire,T1.enableFire,step2.outport_fire,T2.enableFire,step3.outport_fire,T4.enableFire,step4.outport_fire,T5.enableFire,T3.enableFire,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,T1.fire,T1.t_start,step2.newActive,step2.oldActive,step2.inport_fire,T2.fire,T2.t_start,step3.newActive,step3.oldActive,step3.inport_fire,T3.fire,T3.t_start,step4.newActive,step4.oldActive,step4.inport_fire,T4.fire,T4.t_start,T5.fire,T5.t_start,step1.newActive,step1.oldActive,step1.inport_fire,step1.outport_fire,risingEdge.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,fallingEdge.not_u) * Number of discrete states: 8 (step1.newActive,step4.newActive,step3.newActive,fallingEdge.not_u,step2.newActive,initialStep.newActive,risingEdge.u,set1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001312/0.545, allocations: 0.9908 MB / 412.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.546, allocations: 378.9 kB / 413.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.546, allocations: 4.688 kB / 413.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.5464, allocations: 148 kB / 413.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.5468, allocations: 49.16 kB / 413.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.5492, allocations: 0.725 MB / 414.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.5498, allocations: 0.8954 MB / 415 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.5502, allocations: 88.28 kB / 415 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.5506, allocations: 191.4 kB / 415.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5506, allocations: 0 / 415.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/0.5901, allocations: 8.539 MB / 423.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/0.5905, allocations: 166.9 kB / 423.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/3.354, allocations: 8 kB / 423.9 MB, free: 3.801 MB / 362.7 MB