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.115/2.115, allocations: 208.4 MB / 222.9 MB, free: 15.43 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.507e-05, allocations: 4 kB / 274.4 MB, free: 11.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3268, allocations: 47.78 MB / 322.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample): time 0.002513/0.3294, allocations: 1.459 MB / 323.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3313, allocations: 0.7044 MB / 324.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.3315, allocations: 11.94 kB / 324.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3317, allocations: 34.72 kB / 324.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3319, allocations: 25.2 kB / 324.4 MB, free: 10.64 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12145:5-12145:45:writable] Warning: The second argument 'initialStep.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: The first argument 'initialStep.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12173:5-12173:46:writable] Warning: The first argument 'initialStep.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12145:5-12145:45:writable] Warning: The second argument 'step2.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: The first argument 'step2.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12173:5-12173:46:writable] Warning: The first argument 'step2.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12145:5-12145:45:writable] Warning: The second argument 'step3.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: The first argument 'step3.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12173:5-12173:46:writable] Warning: The first argument 'step3.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.3328, allocations: 192.7 kB / 324.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.3333, allocations: 223.8 kB / 324.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.3348, allocations: 0.6497 MB / 325.4 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.335, allocations: 106.5 kB / 325.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.3352, allocations: 100.2 kB / 325.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3354, allocations: 27.48 kB / 325.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.3354, allocations: 21.34 kB / 325.7 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3356, allocations: 70.84 kB / 325.8 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.3356, allocations: 19 kB / 325.8 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.3361, allocations: 249.9 kB / 326 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3361, allocations: 0 / 326 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3361, allocations: 1.156 kB / 326 MB, free: 9.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3362, allocations: 0 / 326 MB, free: 9.453 MB / 266.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.0009916/0.3372, allocations: 0.5353 MB / 326.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3372, allocations: 13.89 kB / 326.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3374, allocations: 44.14 kB / 326.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.3379, allocations: 305.9 kB / 326.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.338, allocations: 34.05 kB / 326.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.3381, allocations: 38.34 kB / 327 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.3392, allocations: 447.9 kB / 327.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3392, allocations: 1 kB / 327.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.3393, allocations: 21.2 kB / 327.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.3393, allocations: 12 kB / 327.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007792/0.3401, allocations: 270.4 kB / 327.7 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.343, allocations: 1.885 MB / 329.6 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.3436, allocations: 378.9 kB / 330 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.3437, allocations: 89.28 kB / 330.1 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.344, allocations: 111.4 kB / 330.2 MB, free: 5.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 3.747e-06/0.344, allocations: 0 / 330.2 MB, free: 5.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.000598/0.3446, allocations: 213.8 kB / 330.4 MB, free: 5.059 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.3447, allocations: 106.8 kB / 330.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.345, allocations: 229.9 kB / 330.7 MB, free: 4.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.3451, allocations: 37.7 kB / 330.7 MB, free: 4.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.3453, allocations: 196.4 kB / 330.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.3454, allocations: 51.34 kB / 331 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.3454, allocations: 8 kB / 331 MB, free: 4.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3456, allocations: 334.8 kB / 331.3 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.3458, allocations: 64.84 kB / 331.4 MB, free: 4.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.3461, allocations: 215.7 kB / 331.6 MB, free: 3.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.3464, allocations: 99.89 kB / 331.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3464, allocations: 0 / 331.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007448/0.3471, allocations: 313 kB / 332 MB, free: 3.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3472, allocations: 8 kB / 332 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.3472, allocations: 7.953 kB / 332 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.3472, allocations: 8 kB / 332 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3474, allocations: 31.8 kB / 332 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/0.3474, allocations: 15.88 kB / 332.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.3477, allocations: 44.14 kB / 332.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.3478, allocations: 16 kB / 332.1 MB, free: 3.188 MB / 266.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,T3.condition,T2.condition,initialStep.node.suspend,initialStep.node.resume,T3.outPort.checkOneDelayedTransitionPerLoop,step2.inPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,step2.inPort[1].checkUnaryConnection,initialStep.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.0003143/0.3481, allocations: 198.9 kB / 332.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.3482, allocations: 15.81 kB / 332.3 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.3487, allocations: 191.3 kB / 332.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3487, allocations: 7.953 kB / 332.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3487, allocations: 0 / 332.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.3487, allocations: 7.984 kB / 332.5 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.35, allocations: 0.6156 MB / 333.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.35, allocations: 0 / 333.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.35, allocations: 4 kB / 333.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.35, allocations: 8 kB / 333.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3501, allocations: 0 / 333.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3501, allocations: 0 / 333.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.3501, allocations: 7.922 kB / 333.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.3505, allocations: 267 kB / 333.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.3507, allocations: 116.7 kB / 333.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.3508, allocations: 4 kB / 333.5 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.351, allocations: 15.98 kB / 333.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.3511, allocations: 23.97 kB / 333.6 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.3512, allocations: 8 kB / 333.6 MB, free: 1.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.3514, allocations: 144.6 kB / 333.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3514, allocations: 0 / 333.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005202/0.3519, allocations: 75.69 kB / 333.8 MB, free: 1.398 MB / 266.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.0002235/0.3521, allocations: 124.9 kB / 333.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.3527, allocations: 188.2 kB / 334.1 MB, free: 1.082 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3527, allocations: 0 / 334.1 MB, free: 1.082 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.3529, allocations: 79.7 kB / 334.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3532, allocations: 21.14 kB / 334.2 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3544, allocations: 0.5545 MB / 334.8 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.3549, allocations: 0.7957 MB / 335.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.3551, allocations: 38.95 kB / 335.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.3552, allocations: 27.42 kB / 335.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3553, allocations: 0 / 335.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of Templates: time 0.008792/0.3641, allocations: 2.014 MB / 337.6 MB, free: 13.52 MB / 282.7 MB