Running command: translateModel(Modelica_StateGraph2.Examples.Applications.Deadlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.Deadlock") Notification: Performance of loadModel(Modelica_StateGraph2): time 3.169/3.169, allocations: 208.5 MB / 216.1 MB, free: 10.14 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.116e-05, allocations: 0 / 266.1 MB, free: 7.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 47.78 MB / 313.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6002/0.718, allocations: 71.64 MB / 385.5 MB, free: 1.992 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001363/0.7182, allocations: 52.11 kB / 385.6 MB, free: 1.973 MB / 298.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.1098/0.8281, allocations: 21.63 MB / 407.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.8282, allocations: 3.938 kB / 407.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001837/0.8284, allocations: 63.98 kB / 407.3 MB, free: 0.6328 MB / 314.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.004616/0.833, allocations: 1.549 MB / 408.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.8331, allocations: 12.02 kB / 408.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008744/0.834, allocations: 217.5 kB / 409 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/0.8378, allocations: 0.9044 MB / 409.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.8381, allocations: 98.92 kB / 410 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005107/0.8386, allocations: 127.1 kB / 410.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005055/0.8437, allocations: 1.245 MB / 411.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006602/0.8503, allocations: 2.038 MB / 413.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.568e-05/0.8505, allocations: 11.88 kB / 413.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/0.8508, allocations: 15.98 kB / 413.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-05/0.8509, allocations: 52 kB / 413.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.867, allocations: 7.912 MB / 421.4 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.8698, allocations: 1.555 MB / 423 MB, free: 2.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/0.8707, allocations: 304.9 kB / 423.3 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005115/0.8758, allocations: 2.431 MB / 425.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.8769, allocations: 404.6 kB / 426.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=98): time 5.821e-06/0.877, allocations: 0 / 426.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=98): time 0.002467/0.8794, allocations: 0.5844 MB / 426.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/0.8797, allocations: 336.8 kB / 427 MB, free: 14.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.8815, allocations: 0.7574 MB / 427.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.8817, allocations: 48.31 kB / 427.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.8828, allocations: 0.717 MB / 428.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000391/0.8832, allocations: 212 kB / 428.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.8833, allocations: 0 / 428.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003186/0.8836, allocations: 412.6 kB / 429.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009144/0.8846, allocations: 265.5 kB / 429.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.8863, allocations: 0.9396 MB / 430.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.888, allocations: 408.1 kB / 430.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.59e-05/0.8881, allocations: 8 kB / 430.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.004116/0.8922, allocations: 1.136 MB / 431.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.8923, allocations: 18.77 kB / 431.9 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.707e-05/0.8923, allocations: 24 kB / 431.9 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.782e-05/0.8924, allocations: 36 kB / 432 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.893, allocations: 128.2 kB / 432.1 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.887e-05/0.8931, allocations: 51.8 kB / 432.2 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.8944, allocations: 43.83 kB / 432.2 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/0.8946, allocations: 91.98 kB / 432.3 MB, free: 9.633 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 202 ($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,free1.outPort[1].checkOneDelayedTransitionPerLoop,requesting3.inPort[1].checkOneDelayedTransitionPerLoop,idle1.outPort[1].checkOneDelayedTransitionPerLoop,requesting4.inPort[1].checkOneDelayedTransitionPerLoop,idle2.outPort[1].checkOneDelayedTransitionPerLoop,free2.outPort[2].checkOneDelayedTransitionPerLoop,$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,s3.outPort[1].checkOneDelayedTransitionPerLoop,busy2.outPort[1].checkOneDelayedTransitionPerLoop,busy2.inPort[1].checkOneDelayedTransitionPerLoop,busy1.outPort[1].checkOneDelayedTransitionPerLoop,busy1.inPort[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,s4.inPort[1].checkUnaryConnection,idle2.inPort[1].checkUnaryConnection,ready2.outPort.checkOneDelayedTransitionPerLoop,start2.outPort.checkOneDelayedTransitionPerLoop,busy2.inPort[1].checkUnaryConnection,requesting4.inPort[1].checkUnaryConnection,requesting2.inPort[1].checkUnaryConnection,idle1.inPort[1].checkUnaryConnection,ready1.outPort.checkOneDelayedTransitionPerLoop,start1.outPort.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.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 (214): * Single equations (assignments): 214 * 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.0005257/0.8952, allocations: 275.2 kB / 432.6 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.8955, allocations: 102.8 kB / 432.7 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.898, allocations: 0.668 MB / 433.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.8981, allocations: 3.984 kB / 433.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.8981, allocations: 0 / 433.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/0.8986, allocations: 215.8 kB / 433.5 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.8989, allocations: 8 kB / 433.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.8994, allocations: 19.97 kB / 433.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003885/0.8998, allocations: 92.64 kB / 433.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002195/0.902, allocations: 0.6368 MB / 434.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002126/0.9042, allocations: 0.7538 MB / 435.1 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006788/0.9049, allocations: 260.6 kB / 435.3 MB, free: 6.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008894/0.9058, allocations: 391.1 kB / 435.7 MB, free: 6.145 MB / 346.7 MB Notification: Performance of Backend: time 9.72e-07/0.9058, allocations: 0 / 435.7 MB, free: 6.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.9086, allocations: 0.6888 MB / 436.4 MB, free: 5.457 MB / 346.7 MB Notification: Performance of SimCode: time 0.006728/0.9154, allocations: 2.29 MB / 438.7 MB, free: 3.094 MB / 346.7 MB Notification: Performance of Templates: time 0.04352/0.959, allocations: 8.25 MB / 446.9 MB, free: 10.85 MB / 362.7 MB