Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant4") Notification: Performance of loadModel(Modelica_StateGraph2): time 2.014/2.014, allocations: 208.4 MB / 220.6 MB, free: 15.44 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.877e-05, allocations: 4 kB / 271.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3047, allocations: 47.77 MB / 319 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.4135, allocations: 72.24 MB / 391.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001376/0.4137, allocations: 47.98 kB / 391.3 MB, free: 5.469 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.02367/0.4374, allocations: 6.532 MB / 397.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.156e-06/0.4374, allocations: 0 / 397.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.6e-05/0.4375, allocations: 16.22 kB / 397.9 MB, free: 14.89 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001026/0.4386, allocations: 0.621 MB / 398.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4386, allocations: 11.97 kB / 398.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.4388, allocations: 59.34 kB / 398.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.4395, allocations: 370.3 kB / 398.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.4396, allocations: 49.27 kB / 399 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.4397, allocations: 52 kB / 399 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.441, allocations: 0.6271 MB / 399.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.4411, allocations: 4 kB / 399.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.77e-05/0.4412, allocations: 31.98 kB / 399.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.4412, allocations: 16 kB / 399.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/0.4421, allocations: 369.8 kB / 400 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.4458, allocations: 2.523 MB / 402.6 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.4465, allocations: 457.3 kB / 403 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.4467, allocations: 97.7 kB / 403.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.4479, allocations: 0.843 MB / 404 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.4482, allocations: 128.3 kB / 404.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.921e-06/0.4482, allocations: 0 / 404.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004765/0.4487, allocations: 205.3 kB / 404.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.4487, allocations: 71.38 kB / 404.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.4492, allocations: 278.6 kB / 404.6 MB, free: 7.609 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.4492, allocations: 41.62 kB / 404.7 MB, free: 7.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.4495, allocations: 252.4 kB / 404.9 MB, free: 7.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/0.4496, allocations: 67.23 kB / 405 MB, free: 7.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.4496, allocations: 8 kB / 405 MB, free: 7.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4498, allocations: 338.8 kB / 405.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.45, allocations: 89.11 kB / 405.4 MB, free: 6.809 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.4504, allocations: 260.3 kB / 405.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.4507, allocations: 111.9 kB / 405.8 MB, free: 6.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.944e-06/0.4507, allocations: 4 kB / 405.8 MB, free: 6.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008068/0.4515, allocations: 381.4 kB / 406.1 MB, free: 5.977 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.4516, allocations: 12.16 kB / 406.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.4516, allocations: 8 kB / 406.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.4516, allocations: 8 kB / 406.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4518, allocations: 39.86 kB / 406.2 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.4518, allocations: 23.81 kB / 406.2 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.4521, allocations: 23.91 kB / 406.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.4522, allocations: 24 kB / 406.3 MB, free: 5.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.step4.oldActive,step4.oldActive,$PRE.step3.oldActive,step3.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.initialStep.oldActive,initialStep.oldActive,$whenCondition2,$whenCondition1,initialStep.active,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,T1.condition,T1.enableFire,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.activePort,T2.enableFire,T2.conditionPort,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.activePort,T3.enableFire,$PRE.timer1.entryTime,timer1.entryTime,$PRE.step4.newActive,step4.newActive,step4.inport_fire,step4.outport_fire,T4.enableFire,T4.conditionPort,$PRE.timer2.entryTime,timer2.entryTime,step3.outPort[1].checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.node.resume,initialStep.node.suspend,T3.condition,step4.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,step2.inPort[1].checkUnaryConnection,initialStep.inPort[1].checkUnaryConnection,T4.condition,T2.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001791/0.4523, allocations: 158 kB / 406.4 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.4524, allocations: 27.7 kB / 406.5 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.4529, allocations: 220.9 kB / 406.7 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.453, allocations: 15.92 kB / 406.7 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.453, allocations: 0 / 406.7 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.453, allocations: 7.938 kB / 406.7 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.4543, allocations: 0.7095 MB / 407.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-06/0.4543, allocations: 0 / 407.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.4544, allocations: 15.92 kB / 407.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.535e-06/0.4544, allocations: 0 / 407.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.4545, allocations: 11.95 kB / 407.4 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.529e-06/0.4545, allocations: 0 / 407.4 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.08e-06/0.4545, allocations: 0 / 407.4 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.4549, allocations: 300 kB / 407.7 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.4551, allocations: 124.6 kB / 407.8 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.4552, allocations: 12 kB / 407.9 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.4553, allocations: 15.94 kB / 407.9 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.4554, allocations: 19.97 kB / 407.9 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.4555, allocations: 15.98 kB / 407.9 MB, free: 4.094 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.4557, allocations: 167.1 kB / 408.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.34e-07/0.4557, allocations: 0 / 408.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005594/0.4563, allocations: 64 kB / 408.1 MB, free: 3.871 MB / 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: 27 (initialStep.inport_fire,step3.activePort,step2.activePort,$whenCondition2,$whenCondition1,initialStep.active,initialStep.newActive,initialStep.oldActive,T1.condition,T1.enableFire,step2.newActive,step2.oldActive,step2.inport_fire,T2.enableFire,T2.conditionPort,step3.newActive,step3.oldActive,step3.inport_fire,T3.enableFire,timer1.entryTime,step4.newActive,step4.oldActive,step4.inport_fire,step4.outport_fire,T4.enableFire,T4.conditionPort,timer2.entryTime) * Number of discrete states: 4 (initialStep.newActive,step2.newActive,step3.newActive,step4.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002034/0.4565, allocations: 133.4 kB / 408.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005348/0.4571, allocations: 227.7 kB / 408.5 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.731e-06/0.4571, allocations: 1.625 kB / 408.5 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.4573, allocations: 79.94 kB / 408.6 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4576, allocations: 28.55 kB / 408.6 MB, free: 3.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4587, allocations: 479.8 kB / 409.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.4593, allocations: 0.8421 MB / 409.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.4595, allocations: 51.25 kB / 410 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.96e-05/0.4596, allocations: 27.44 kB / 410 MB, free: 1.965 MB / 346.7 MB Notification: Performance of SimCode: time 2.244e-06/0.4597, allocations: 0 / 410 MB, free: 1.965 MB / 346.7 MB Notification: Performance of Templates: time 0.009366/0.469, allocations: 2.195 MB / 412.2 MB, free: 15.78 MB / 362.7 MB