Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample") Notification: Performance of loadModel(Modelica_StateGraph2): time 2.153/2.153, allocations: 208.4 MB / 220.6 MB, free: 15.45 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.452e-05, allocations: 4 kB / 271.2 MB, free: 12.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.26, allocations: 47.77 MB / 319 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3689, allocations: 71.8 MB / 390.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001372/0.3691, allocations: 47.98 kB / 390.9 MB, free: 5.926 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.01731/0.3864, allocations: 4.774 MB / 395.6 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.231e-06/0.3864, allocations: 0 / 395.6 MB, free: 1.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.192e-05/0.3865, allocations: 15.98 kB / 395.7 MB, free: 1.105 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008388/0.3873, allocations: 0.5225 MB / 396.2 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3874, allocations: 8.031 kB / 396.2 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3875, allocations: 43.52 kB / 396.2 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.3881, allocations: 318.5 kB / 396.5 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.3882, allocations: 32.77 kB / 396.6 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.3883, allocations: 40 kB / 396.6 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/0.3892, allocations: 449.9 kB / 397 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3893, allocations: 3.984 kB / 397.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.3893, allocations: 19.94 kB / 397.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.3894, allocations: 8 kB / 397.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006407/0.39, allocations: 265.4 kB / 397.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.3927, allocations: 1.863 MB / 399.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.3932, allocations: 370.8 kB / 399.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.3933, allocations: 65.23 kB / 399.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.3934, allocations: 89.22 kB / 399.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.3937, allocations: 107.4 kB / 399.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.836e-06/0.3937, allocations: 0 / 399.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.000412/0.3941, allocations: 162.5 kB / 400 MB, free: 12.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.3942, allocations: 106.8 kB / 400.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.3945, allocations: 229.6 kB / 400.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.3946, allocations: 33.7 kB / 400.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.3948, allocations: 188.4 kB / 400.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.3949, allocations: 59.33 kB / 400.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.3949, allocations: 12 kB / 400.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3951, allocations: 338.8 kB / 400.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.3953, allocations: 60.88 kB / 401 MB, free: 11.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.3956, allocations: 215.4 kB / 401.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.3958, allocations: 95.8 kB / 401.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.633e-06/0.3958, allocations: 4 kB / 401.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006209/0.3964, allocations: 293.3 kB / 401.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3965, allocations: 8 kB / 401.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3965, allocations: 4 kB / 401.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.3965, allocations: 8 kB / 401.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3967, allocations: 27.86 kB / 401.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.3967, allocations: 11.94 kB / 401.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.3969, allocations: 19.98 kB / 401.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.397, allocations: 20.28 kB / 401.7 MB, free: 10.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.initialStep.oldActive,initialStep.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,$whenCondition2,$whenCondition1,initialStep.active,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,initialStep.outport_fire,T1.condition,T1.enableFire,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.fire,T2.enableFire,$PRE.T2.t_start,T2.t_start,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,initialStep.node.resume,initialStep.node.suspend,T3.condition,T2.condition,initialStep.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,step2.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001599/0.3972, allocations: 149.5 kB / 401.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.3972, allocations: 23.72 kB / 401.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.3977, allocations: 195 kB / 402 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.57e-06/0.3977, allocations: 4 kB / 402 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.875e-06/0.3977, allocations: 4 kB / 402 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.655e-06/0.3977, allocations: 4 kB / 402 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.3988, allocations: 0.6117 MB / 402.7 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.267e-06/0.3989, allocations: 4 kB / 402.7 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.3989, allocations: 0 / 402.7 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.708e-06/0.3989, allocations: 4 kB / 402.7 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.3989, allocations: 11.98 kB / 402.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.481e-06/0.3989, allocations: 0 / 402.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.899e-06/0.399, allocations: 7.891 kB / 402.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.3994, allocations: 263 kB / 402.9 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3995, allocations: 108.8 kB / 403.1 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.3995, allocations: 8 kB / 403.1 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3997, allocations: 15.98 kB / 403.1 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.3998, allocations: 19.97 kB / 403.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.3999, allocations: 15.94 kB / 403.1 MB, free: 9.027 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.4001, allocations: 140.7 kB / 403.2 MB, free: 8.891 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.4001, allocations: 0 / 403.2 MB, free: 8.891 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004782/0.4006, allocations: 55.98 kB / 403.3 MB, free: 8.836 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: 23 (initialStep.inport_fire,initialStep.outport_fire,step2.outport_fire,T2.enableFire,T3.enableFire,$whenCondition2,$whenCondition1,initialStep.active,initialStep.newActive,initialStep.oldActive,T1.condition,T1.enableFire,step2.newActive,step2.oldActive,step2.inport_fire,T2.fire,T2.t_start,step3.newActive,step3.oldActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.t_start) * Number of discrete states: 3 (step3.newActive,step2.newActive,initialStep.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001952/0.4008, allocations: 116.9 kB / 403.4 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004149/0.4012, allocations: 183.7 kB / 403.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.603e-06/0.4012, allocations: 0 / 403.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.4014, allocations: 68.53 kB / 403.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.4016, allocations: 16 kB / 403.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007883/0.4025, allocations: 336.1 kB / 404 MB, free: 8.102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.403, allocations: 0.7996 MB / 404.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.4032, allocations: 42.95 kB / 404.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.4033, allocations: 27.44 kB / 404.9 MB, free: 7.203 MB / 346.7 MB Notification: Performance of SimCode: time 1.254e-06/0.4033, allocations: 0 / 404.9 MB, free: 7.203 MB / 346.7 MB Notification: Performance of Templates: time 0.007966/0.4112, allocations: 2.012 MB / 406.9 MB, free: 5.203 MB / 346.7 MB