Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.Applications.Deadlock,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_Applications_Deadlock",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.45 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.46e-05, allocations: 4 kB / 271.3 MB, free: 12.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3442, allocations: 47.77 MB / 319.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.4817, allocations: 72.32 MB / 391.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.4819, allocations: 47.98 kB / 391.5 MB, free: 5.285 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.09029/0.5722, allocations: 21.77 MB / 413.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5723, allocations: 0 / 413.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001674/0.5724, allocations: 67.97 kB / 413.3 MB, free: 15.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.004519/0.577, allocations: 1.558 MB / 414.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.5771, allocations: 11.98 kB / 414.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001019/0.5781, allocations: 295.3 kB / 415.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000792/0.5789, allocations: 221.5 kB / 415.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.5824, allocations: 0.8998 MB / 416.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/0.5828, allocations: 160.1 kB / 416.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007761/0.5835, allocations: 216 kB / 416.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007385/0.591, allocations: 2.31 MB / 419 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.448e-05/0.5911, allocations: 3.938 kB / 419 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.5914, allocations: 95.98 kB / 419.1 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.39e-05/0.5915, allocations: 52 kB / 419.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005113/0.5966, allocations: 1.376 MB / 420.5 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01683/0.6135, allocations: 9.016 MB / 429.5 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.6158, allocations: 1.308 MB / 430.8 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/0.6167, allocations: 302.5 kB / 431.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00395/0.6206, allocations: 2.091 MB / 433.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008479/0.6215, allocations: 316.6 kB / 433.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 4.548e-06/0.6216, allocations: 3.938 kB / 433.5 MB, free: 9.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.001661/0.6232, allocations: 0.5889 MB / 434.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.6234, allocations: 179 kB / 434.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.6253, allocations: 0.8187 MB / 435.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.6255, allocations: 65.69 kB / 435.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.6267, allocations: 0.7292 MB / 435.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/0.6272, allocations: 209.8 kB / 436.1 MB, free: 7.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.6273, allocations: 28 kB / 436.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003254/0.6277, allocations: 422.7 kB / 436.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009946/0.6287, allocations: 304 kB / 436.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.6303, allocations: 0.9904 MB / 437.8 MB, free: 5.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.6315, allocations: 433.7 kB / 438.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/0.6316, allocations: 8 kB / 438.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003883/0.6355, allocations: 1.269 MB / 439.5 MB, free: 3.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.6356, allocations: 16 kB / 439.5 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.547e-05/0.6356, allocations: 24.91 kB / 439.6 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-05/0.6357, allocations: 36.44 kB / 439.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/0.6364, allocations: 131.5 kB / 439.7 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.001e-05/0.6364, allocations: 47.8 kB / 439.8 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.6376, allocations: 83.73 kB / 439.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/0.6379, allocations: 95.92 kB / 440 MB, free: 3.098 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 204 ($PRE.request1.enableFire,$PRE.request2.enableFire,$PRE.release2.enableFire,$PRE.release1.enableFire,$PRE.reqest3.enableFire,$PRE.request4.enableFire,$PRE.release4.enableFire,$PRE.release3.enableFire,$PRE.start1.enableFire,$PRE.reserved1.enableFire,$PRE.reserved3.enableFire,$PRE.ready1.enableFire,$PRE.start2.enableFire,$PRE.reserved2.enableFire,$PRE.reserved4.enableFire,$PRE.ready2.enableFire,$PRE.idle2.oldActive,idle2.oldActive,$PRE.busy2.oldActive,busy2.oldActive,$PRE.requesting4.oldActive,requesting4.oldActive,$PRE.requesting2.oldActive,requesting2.oldActive,$PRE.idle1.oldActive,idle1.oldActive,$PRE.busy1.oldActive,busy1.oldActive,$PRE.s4.oldActive,s4.oldActive,$PRE.s3.oldActive,s3.oldActive,$PRE.free2.oldActive,free2.oldActive,$PRE.s2.oldActive,s2.oldActive,$PRE.requesting3.oldActive,requesting3.oldActive,$PRE.requesting1.oldActive,requesting1.oldActive,$PRE.s1.oldActive,s1.oldActive,$PRE.free1.oldActive,free1.oldActive,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,free1.outPort[2].available,free1.active,$PRE.free1.newActive,free1.newActive,free1.inport_fire,free1.outport_fire,$PRE.s1.newActive,s1.newActive,s1.inport_fire,s1.outport_fire,request1.enableFire,request1.conditionPort,$PRE.requesting1.newActive,requesting1.newActive,$PRE.requesting3.newActive,requesting3.newActive,requesting3.inport_fire,$PRE.s2.newActive,s2.newActive,s2.inport_fire,s2.outport_fire,request2.enableFire,request2.conditionPort,release2.enableFire,release1.enableFire,free2.outPort[2].available,free2.active,$PRE.free2.newActive,free2.newActive,free2.inport_fire,free2.outport_fire,$PRE.s3.newActive,s3.newActive,s3.inport_fire,s3.outport_fire,reqest3.enableFire,reqest3.conditionPort,$PRE.s4.newActive,s4.newActive,s4.inport_fire,s4.outport_fire,request4.enableFire,request4.conditionPort,release4.enableFire,release3.enableFire,$PRE.busy1.newActive,busy1.newActive,busy1.inport_fire,start1.fire,start1.enableFire,$PRE.start1.t_start,start1.t_start,reserved1.enableFire,reserved1.conditionPort,reserved3.enableFire,reserved3.conditionPort,ready1.fire,ready1.enableFire,$PRE.ready1.t_start,ready1.t_start,$PRE.idle1.newActive,idle1.newActive,idle1.inport_fire,idle1.outport_fire,$PRE.requesting2.newActive,requesting2.newActive,$PRE.requesting4.newActive,requesting4.newActive,requesting4.inport_fire,$PRE.busy2.newActive,busy2.newActive,busy2.inport_fire,start2.fire,start2.enableFire,$PRE.start2.t_start,start2.t_start,reserved2.enableFire,reserved2.conditionPort,reserved4.enableFire,reserved4.conditionPort,ready2.fire,ready2.enableFire,$PRE.ready2.t_start,ready2.t_start,$PRE.idle2.newActive,idle2.newActive,idle2.inport_fire,idle2.outport_fire,fallingEdge.y,$PRE.fallingEdge.not_u,fallingEdge.not_u,fallingEdge1.y,$PRE.fallingEdge1.not_u,fallingEdge1.not_u,s4.outPort[1].checkOneDelayedTransitionPerLoop,s3.outPort[1].checkOneDelayedTransitionPerLoop,busy2.outPort[1].checkOneDelayedTransitionPerLoop,busy1.outPort[1].checkOneDelayedTransitionPerLoop,s2.outPort[1].checkOneDelayedTransitionPerLoop,s1.outPort[1].checkOneDelayedTransitionPerLoop,free2.node.resume,free2.node.suspend,idle2.node.resume,idle2.node.suspend,idle1.node.resume,idle1.node.suspend,free1.node.resume,free1.node.suspend,ready2.condition,start2.condition,ready1.condition,start1.condition,release4.outPort.checkOneDelayedTransitionPerLoop,release3.outPort.checkOneDelayedTransitionPerLoop,free2.outPort[2].checkOneDelayedTransitionPerLoop,s4.inPort[1].checkUnaryConnection,idle2.inPort[1].checkUnaryConnection,ready2.outPort.checkOneDelayedTransitionPerLoop,idle2.outPort[1].checkOneDelayedTransitionPerLoop,start2.outPort.checkOneDelayedTransitionPerLoop,requesting4.inPort[1].checkOneDelayedTransitionPerLoop,busy2.inPort[1].checkOneDelayedTransitionPerLoop,busy2.inPort[1].checkUnaryConnection,requesting4.inPort[1].checkUnaryConnection,requesting2.inPort[1].checkUnaryConnection,idle1.inPort[1].checkUnaryConnection,ready1.outPort.checkOneDelayedTransitionPerLoop,idle1.outPort[1].checkOneDelayedTransitionPerLoop,start1.outPort.checkOneDelayedTransitionPerLoop,requesting3.inPort[1].checkOneDelayedTransitionPerLoop,busy1.inPort[1].checkOneDelayedTransitionPerLoop,busy1.inPort[1].checkUnaryConnection,requesting3.inPort[1].checkUnaryConnection,requesting1.inPort[1].checkUnaryConnection,free2.inPort[2].checkUnaryConnection,free2.inPort[1].checkUnaryConnection,s3.inPort[1].checkUnaryConnection,free1.inPort[2].checkUnaryConnection,release2.outPort.checkOneDelayedTransitionPerLoop,release1.outPort.checkOneDelayedTransitionPerLoop,free1.outPort[1].checkOneDelayedTransitionPerLoop,free1.inPort[1].checkUnaryConnection,s1.inPort[1].checkUnaryConnection,s2.inPort[1].checkUnaryConnection,reserved4.condition,reserved2.condition,reserved3.condition,reserved1.condition,release3.condition,release4.condition,request4.condition,reqest3.condition,release1.condition,release2.condition,request2.condition,request1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (216): * Single equations (assignments): 216 * 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.0005491/0.6385, allocations: 319.5 kB / 440.3 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.6388, allocations: 94.88 kB / 440.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.6408, allocations: 0.6708 MB / 441 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.6408, allocations: 8 kB / 441 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6409, allocations: 0 / 441 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.6409, allocations: 7.984 kB / 441 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/0.6461, allocations: 1.902 MB / 442.9 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.6462, allocations: 0 / 442.9 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3029/0.9491, allocations: 26.16 kB / 443 MB, free: 99.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.242e-05/0.9492, allocations: 4.453 kB / 443 MB, free: 99.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.9493, allocations: 20.97 kB / 443 MB, free: 99.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.9494, allocations: 3.531 kB / 443 MB, free: 99.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.9494, allocations: 3.578 kB / 443 MB, free: 99.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.9514, allocations: 0.7037 MB / 443.7 MB, free: 98.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.9519, allocations: 213.1 kB / 443.9 MB, free: 98.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.9522, allocations: 22.7 kB / 443.9 MB, free: 98.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.9527, allocations: 33.08 kB / 444 MB, free: 98.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003885/0.9531, allocations: 98.66 kB / 444.1 MB, free: 98.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.9533, allocations: 31.94 kB / 444.1 MB, free: 98.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009747/0.9542, allocations: 433.1 kB / 444.5 MB, free: 98.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.9543, allocations: 1.031 kB / 444.5 MB, free: 98.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001741/0.956, allocations: 237.8 kB / 444.8 MB, free: 98.73 MB / 378.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: 92 (start2.enableFire,ready2.enableFire,start1.enableFire,ready1.enableFire,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,free1.outPort[2].available,free1.active,free1.newActive,free1.oldActive,free1.inport_fire,free1.outport_fire,s1.newActive,s1.oldActive,s1.inport_fire,s1.outport_fire,request1.enableFire,request1.conditionPort,requesting1.newActive,requesting1.oldActive,requesting3.newActive,requesting3.oldActive,requesting3.inport_fire,s2.newActive,s2.oldActive,s2.inport_fire,s2.outport_fire,request2.enableFire,request2.conditionPort,release2.enableFire,release1.enableFire,free2.outPort[2].available,free2.active,free2.newActive,free2.oldActive,free2.inport_fire,free2.outport_fire,s3.newActive,s3.oldActive,s3.inport_fire,s3.outport_fire,reqest3.enableFire,reqest3.conditionPort,s4.newActive,s4.oldActive,s4.inport_fire,s4.outport_fire,request4.enableFire,request4.conditionPort,release4.enableFire,release3.enableFire,busy1.newActive,busy1.oldActive,busy1.inport_fire,start1.fire,start1.t_start,reserved1.enableFire,reserved1.conditionPort,reserved3.enableFire,reserved3.conditionPort,ready1.fire,ready1.t_start,idle1.newActive,idle1.oldActive,idle1.inport_fire,idle1.outport_fire,requesting2.newActive,requesting2.oldActive,requesting4.newActive,requesting4.oldActive,requesting4.inport_fire,busy2.newActive,busy2.oldActive,busy2.inport_fire,start2.fire,start2.t_start,reserved2.enableFire,reserved2.conditionPort,reserved4.enableFire,reserved4.conditionPort,ready2.fire,ready2.t_start,idle2.newActive,idle2.oldActive,idle2.inport_fire,idle2.outport_fire,fallingEdge.y,fallingEdge.not_u,fallingEdge1.y,fallingEdge1.not_u) * Number of discrete states: 16 (free1.newActive,s1.newActive,requesting1.newActive,requesting3.newActive,s2.newActive,free2.newActive,s3.newActive,s4.newActive,busy1.newActive,idle1.newActive,requesting2.newActive,requesting4.newActive,busy2.newActive,idle2.newActive,fallingEdge.not_u,fallingEdge1.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.002026/0.9581, allocations: 1.331 MB / 446.1 MB, free: 98.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.9604, allocations: 0.8235 MB / 446.9 MB, free: 98.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.9604, allocations: 0.875 kB / 446.9 MB, free: 98.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.9612, allocations: 287.5 kB / 447.2 MB, free: 98.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.9621, allocations: 103.5 kB / 447.3 MB, free: 98.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006999/0.9692, allocations: 2.001 MB / 449.3 MB, free: 97.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009918/0.9702, allocations: 1.329 MB / 450.6 MB, free: 96.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000912/0.9712, allocations: 197.2 kB / 450.8 MB, free: 96.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.9724, allocations: 0.5981 MB / 451.4 MB, free: 96.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.9724, allocations: 2.078 kB / 451.4 MB, free: 96.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/1.05, allocations: 18.92 MB / 470.3 MB, free: 89.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/1.05, allocations: 170.7 kB / 470.5 MB, free: 89.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.501/5.551, allocations: 4 kB / 470.5 MB, free: 89.25 MB / 378.7 MB