Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions3,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_StateGraph2): time 2.381/2.381, allocations: 208.4 MB / 220.6 MB, free: 15.44 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.887e-05, allocations: 4 kB / 271.3 MB, free: 12.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3415, allocations: 47.77 MB / 319.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4804, allocations: 72.14 MB / 391.3 MB, free: 5.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4807, allocations: 47.98 kB / 391.3 MB, free: 5.461 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.03452/0.5152, allocations: 8.063 MB / 399.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5153, allocations: 0 / 399.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.074e-05/0.5154, allocations: 20 kB / 399.4 MB, free: 13.35 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001706/0.5171, allocations: 0.748 MB / 400.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.5172, allocations: 15.98 kB / 400.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002267/0.5174, allocations: 114.5 kB / 400.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.5176, allocations: 79.14 kB / 400.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.519, allocations: 445.8 kB / 400.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.5191, allocations: 57.98 kB / 400.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.5193, allocations: 76 kB / 400.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.5217, allocations: 0.7881 MB / 401.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.5218, allocations: 0 / 401.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.5219, allocations: 32 kB / 401.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.276e-05/0.522, allocations: 25.31 kB / 401.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.5236, allocations: 490.4 kB / 402.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005988/0.5296, allocations: 3.214 MB / 405.4 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5307, allocations: 0.6501 MB / 406.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.5311, allocations: 112.8 kB / 406.2 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.5313, allocations: 93.08 kB / 406.3 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/0.5317, allocations: 178 kB / 406.5 MB, free: 5.691 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 3.917e-06/0.5318, allocations: 0 / 406.5 MB, free: 5.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.0009715/0.5328, allocations: 317.5 kB / 406.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.5329, allocations: 203.9 kB / 407 MB, free: 5.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000675/0.5336, allocations: 349.9 kB / 407.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5337, allocations: 45.7 kB / 407.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.5341, allocations: 300 kB / 407.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.5342, allocations: 94.98 kB / 407.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.5343, allocations: 15.94 kB / 407.8 MB, free: 4.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.5345, allocations: 358.8 kB / 408.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.5349, allocations: 133.5 kB / 408.2 MB, free: 3.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/0.5356, allocations: 393.1 kB / 408.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.5361, allocations: 185.5 kB / 408.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.5361, allocations: 0 / 408.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001468/0.5376, allocations: 0.5385 MB / 409.3 MB, free: 2.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.5377, allocations: 8 kB / 409.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.5377, allocations: 8 kB / 409.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.447e-05/0.5377, allocations: 12 kB / 409.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.5381, allocations: 59.78 kB / 409.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-05/0.5381, allocations: 23.88 kB / 409.5 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/0.5387, allocations: 48.36 kB / 409.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/0.5388, allocations: 35.98 kB / 409.5 MB, free: 2.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 91 ($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,$PRE.add1.y,add1.y,initialStep.node.resume,initialStep.node.suspend,$whenCondition7,$whenCondition6,$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.enableFire,$PRE.T2.t_start,T2.t_start,T2.firePort,$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.enableFire,$PRE.T5.t_start,T5.t_start,T5.firePort,$PRE.step1.newActive,step1.newActive,step1.inport_fire,step1.outport_fire,$PRE.set1.y,set1.y,set1.firstActiveIndex,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 (91): * Single equations (assignments): 91 * 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.0002939/0.5391, allocations: 192.7 kB / 409.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5392, allocations: 47.52 kB / 409.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009603/0.5402, allocations: 341.6 kB / 410.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.5402, allocations: 4 kB / 410.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5403, allocations: 0 / 410.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.5403, allocations: 11.94 kB / 410.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.5429, allocations: 1.007 MB / 411.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5429, allocations: 4.062 kB / 411.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.5431, allocations: 15.92 kB / 411.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.5431, allocations: 3.938 kB / 411.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.5431, allocations: 15.98 kB / 411.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.5431, allocations: 0 / 411.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5432, allocations: 0 / 411.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008451/0.544, allocations: 414.8 kB / 411.6 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.5443, allocations: 140.6 kB / 411.7 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.5444, allocations: 8 kB / 411.7 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.5448, allocations: 31.97 kB / 411.7 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.545, allocations: 43.92 kB / 411.8 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.5451, allocations: 12 kB / 411.8 MB, free: 36 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003708/0.5454, allocations: 206.2 kB / 412 MB, free: 15.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5455, allocations: 4 kB / 412 MB, free: 15.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008265/0.5463, allocations: 104 kB / 412.1 MB, free: 15.73 MB / 362.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: 45 (initialStep.inport_fire,initialStep.outport_fire,T1.enableFire,step2.outport_fire,T2.firePort,T2.enableFire,step3.outport_fire,T4.enableFire,step4.outport_fire,T5.firePort,T5.enableFire,T3.enableFire,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,T1.fire,T1.t_start,step2.newActive,step2.oldActive,step2.inport_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.t_start,step1.newActive,step1.oldActive,step1.inport_fire,step1.outport_fire,add1.y,set1.y,set1.firstActiveIndex) * Number of discrete states: 7 (step1.newActive,step4.newActive,step3.newActive,step2.newActive,initialStep.newActive,set1.y,add1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001453/0.5478, allocations: 0.9918 MB / 413.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.5489, allocations: 357.1 kB / 413.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.549, allocations: 6.062 kB / 413.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.5493, allocations: 136.2 kB / 413.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.5498, allocations: 44.58 kB / 413.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.5522, allocations: 0.7365 MB / 414.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/0.553, allocations: 0.9067 MB / 415.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003975/0.5534, allocations: 84.36 kB / 415.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/0.5538, allocations: 195.4 kB / 415.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/0.5538, allocations: 0 / 415.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04328/0.5971, allocations: 8.561 MB / 424.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000347/0.5976, allocations: 167 kB / 424.3 MB, free: 3.457 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/3.574, allocations: 3.938 kB / 424.3 MB, free: 3.453 MB / 362.7 MB