Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions1") Notification: Performance of loadModel(Modelica_StateGraph2): time 2.966/2.966, allocations: 208.5 MB / 216.1 MB, free: 10.13 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.108e-05/2.129e-05, allocations: 0 / 266.1 MB, free: 7.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 47.79 MB / 313.9 MB, free: 8.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6036/0.7407, allocations: 71.71 MB / 385.6 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.741, allocations: 48.3 kB / 385.7 MB, free: 1.852 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.05405/0.795, allocations: 8.852 MB / 394.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.7951, allocations: 0 / 394.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.476e-05/0.7952, allocations: 31.36 kB / 394.5 MB, free: 10.91 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002695/0.7979, allocations: 0.7897 MB / 395.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001082/0.7981, allocations: 12.03 kB / 395.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/0.7986, allocations: 86.97 kB / 395.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.8008, allocations: 486.4 kB / 395.9 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.801, allocations: 41.3 kB / 395.9 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003153/0.8013, allocations: 48 kB / 396 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002511/0.8039, allocations: 0.5189 MB / 396.5 MB, free: 9.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.8068, allocations: 0.7959 MB / 397.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.8069, allocations: 0 / 397.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.8071, allocations: 7.984 kB / 397.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.977e-05/0.8072, allocations: 30 kB / 397.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007682/0.8149, allocations: 2.899 MB / 400.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.8166, allocations: 0.8246 MB / 401.1 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/0.8172, allocations: 190 kB / 401.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003895/0.8211, allocations: 1.912 MB / 403.2 MB, free: 2.852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006621/0.8218, allocations: 194 kB / 403.4 MB, free: 2.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 5.059e-06/0.8218, allocations: 0 / 403.4 MB, free: 2.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001523/0.8234, allocations: 340.6 kB / 403.7 MB, free: 2.414 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.8236, allocations: 191.9 kB / 403.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/0.8244, allocations: 392 kB / 404.3 MB, free: 1.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.8246, allocations: 45.56 kB / 404.3 MB, free: 1.836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.8251, allocations: 336.1 kB / 404.6 MB, free: 1.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.8253, allocations: 98.16 kB / 404.7 MB, free: 1.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.8253, allocations: 0 / 404.7 MB, free: 1.488 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.8256, allocations: 362 kB / 405.1 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/0.8263, allocations: 160.2 kB / 405.2 MB, free: 1.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.8273, allocations: 466.3 kB / 405.7 MB, free: 0.5273 MB / 314.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.8297, allocations: 0.5643 MB / 406.3 MB, free: 68 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.8297, allocations: 8 kB / 406.3 MB, free: 60 kB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002472/0.8322, allocations: 0.5984 MB / 406.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.8323, allocations: 8 kB / 406.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.8323, allocations: 8.906 kB / 406.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.029e-05/0.8324, allocations: 16 kB / 406.9 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.833, allocations: 79.52 kB / 407 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.8355, allocations: 2.824 MB / 409.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8365, allocations: 39.89 kB / 409.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.8367, allocations: 39.73 kB / 409.9 MB, free: 12.41 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: multiSwitch1.expr[1] = 2.2. Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: multiSwitch1.expr[1]:VARIABLE() = 2.2 "y = if u[i] then expr[i] else y_default (time varying)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 99 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.T5.enableFire,$PRE.or1.u[1],$PRE.or1.u[2],$PRE.multiSwitch1.u[1],$PRE.multiSwitch1.u[2],$PRE.step5.oldActive,step5.oldActive,$PRE.step4.oldActive,step4.oldActive,$PRE.step3.oldActive,step3.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.initialStep.oldActive,initialStep.oldActive,step5.outPort[1].checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.node.resume,initialStep.node.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.initialStep.newActive,initialStep.newActive,T1.fire,T1.enableFire,$PRE.T1.t_start,T1.t_start,$PRE.step2.newActive,step2.newActive,step2.inport_fire,T2.fire,T2.enableFire,$PRE.T2.t_start,T2.t_start,$PRE.step3.newActive,step3.newActive,step3.inport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,$PRE.step4.newActive,step4.newActive,step4.inport_fire,T4.fire,T4.enableFire,$PRE.T4.t_start,T4.t_start,T5.fire,T5.enableFire,$PRE.T5.t_start,T5.t_start,$PRE.step5.newActive,step5.newActive,step5.inport_fire,step5.outport_fire,or1.u[1],or1.u[2],or1.y,multiSwitch1.u[1],multiSwitch1.u[2],multiSwitch1.firstActiveIndex,$PRE.multiSwitch2.y,multiSwitch2.y,multiSwitch2.firstActiveIndex,$PRE.multiSwitch3.y,multiSwitch3.y,multiSwitch3.firstActiveIndex,multiSwitch2.expr[1],multiSwitch2.expr[2],multiSwitch3.expr[1],multiSwitch3.expr[2],T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,T5.outPort.checkOneDelayedTransitionPerLoop,step5.inPort[1].checkUnaryConnection,T4.outPort.checkOneDelayedTransitionPerLoop,step4.inPort[1].checkUnaryConnection,T2.outPort.checkOneDelayedTransitionPerLoop,initialStep.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,T1.outPort.checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection,showValue4.number,showValue3.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004952/0.8372, allocations: 179.3 kB / 410.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.8374, allocations: 47.44 kB / 410.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.8391, allocations: 386.1 kB / 410.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.8392, allocations: 0 / 410.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.8392, allocations: 4 kB / 410.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.8396, allocations: 142.5 kB / 410.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.8398, allocations: 7.375 kB / 410.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.8403, allocations: 23.97 kB / 410.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.8406, allocations: 50.55 kB / 410.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001641/0.8423, allocations: 426.1 kB / 411.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001545/0.8439, allocations: 0.5186 MB / 411.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004849/0.8444, allocations: 152 kB / 411.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004768/0.8449, allocations: 220.5 kB / 412 MB, free: 10.56 MB / 330.7 MB Notification: Performance of Backend: time 1.042e-06/0.8449, allocations: 0 / 412 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.8469, allocations: 424.7 kB / 412.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of SimCode: time 0.003161/0.8501, allocations: 1.22 MB / 413.6 MB, free: 8.996 MB / 330.7 MB Notification: Performance of Templates: time 0.02846/0.8787, allocations: 4.894 MB / 418.5 MB, free: 4.137 MB / 330.7 MB