Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_FirstExample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_StateGraph2): time 2.164/2.164, allocations: 208.4 MB / 220.6 MB, free: 15.45 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.263e-05, allocations: 4 kB / 271.3 MB, free: 12.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3807, allocations: 47.77 MB / 319.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.5117, allocations: 71.79 MB / 390.9 MB, free: 5.863 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/0.5119, allocations: 47.98 kB / 391 MB, free: 5.816 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.01917/0.5311, allocations: 4.787 MB / 395.7 MB, free: 1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5311, allocations: 0 / 395.7 MB, free: 1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.61e-05/0.5312, allocations: 15.98 kB / 395.8 MB, free: 0.9844 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.0009418/0.5322, allocations: 0.5264 MB / 396.3 MB, free: 420 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5322, allocations: 8.031 kB / 396.3 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.5323, allocations: 82.52 kB / 396.4 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.5325, allocations: 39.53 kB / 396.4 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.5332, allocations: 310.5 kB / 396.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.5332, allocations: 28.78 kB / 396.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/0.5333, allocations: 36 kB / 396.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.5344, allocations: 453.9 kB / 397.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.5344, allocations: 0 / 397.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.5345, allocations: 20 kB / 397.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.5345, allocations: 15.98 kB / 397.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.5353, allocations: 261.4 kB / 397.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.5382, allocations: 1.867 MB / 399.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.5387, allocations: 374.8 kB / 399.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.5389, allocations: 57.23 kB / 399.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.539, allocations: 89.22 kB / 399.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.5393, allocations: 119.4 kB / 400 MB, free: 12.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.417e-06/0.5393, allocations: 0 / 400 MB, free: 12.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004428/0.5397, allocations: 157.2 kB / 400.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.5398, allocations: 114.8 kB / 400.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.5401, allocations: 225.7 kB / 400.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.5402, allocations: 33.7 kB / 400.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.5404, allocations: 184.4 kB / 400.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.5405, allocations: 59.33 kB / 400.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.5405, allocations: 8 kB / 400.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5406, allocations: 338.8 kB / 401.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.5408, allocations: 64.86 kB / 401.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.5412, allocations: 215.5 kB / 401.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.5414, allocations: 100.3 kB / 401.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5414, allocations: 0 / 401.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007198/0.5422, allocations: 293 kB / 401.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5422, allocations: 4 kB / 401.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.5422, allocations: 4.594 kB / 401.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.5423, allocations: 12 kB / 401.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.5424, allocations: 31.86 kB / 401.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.5425, allocations: 7.984 kB / 401.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.5428, allocations: 16 kB / 401.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.5428, allocations: 20 kB / 401.9 MB, free: 10.36 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.0001808/0.543, allocations: 154 kB / 402 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.5431, allocations: 27.72 kB / 402 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.5436, allocations: 191.1 kB / 402.2 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5436, allocations: 0 / 402.2 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5436, allocations: 0 / 402.2 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.5436, allocations: 4 kB / 402.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.5449, allocations: 0.6117 MB / 402.8 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.5449, allocations: 0 / 402.8 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.5449, allocations: 11.98 kB / 402.8 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.545, allocations: 0 / 402.8 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.545, allocations: 4 kB / 402.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.545, allocations: 0 / 402.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.545, allocations: 3.953 kB / 402.9 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.5454, allocations: 275 kB / 403.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.5456, allocations: 104.9 kB / 403.2 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.5457, allocations: 0 / 403.2 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.5459, allocations: 15.98 kB / 403.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.546, allocations: 27.92 kB / 403.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.5461, allocations: 7.984 kB / 403.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.5463, allocations: 144.6 kB / 403.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5463, allocations: 0 / 403.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000544/0.5468, allocations: 52 kB / 403.5 MB, free: 8.641 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.0008552/0.5477, allocations: 0.8196 MB / 404.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005244/0.5482, allocations: 184.5 kB / 404.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5483, allocations: 0 / 404.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.5484, allocations: 71.91 kB / 404.5 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5488, allocations: 20.53 kB / 404.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.5502, allocations: 424.1 kB / 405 MB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.5508, allocations: 0.7961 MB / 405.8 MB, free: 6.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003498/0.5512, allocations: 42.95 kB / 405.8 MB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.5516, allocations: 99.39 kB / 405.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of SimCode: time 1.783e-06/0.5516, allocations: 0 / 405.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.5892, allocations: 4.703 MB / 410.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/0.5896, allocations: 167.4 kB / 410.8 MB, free: 1.242 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.157, allocations: 7.938 kB / 410.8 MB, free: 1.234 MB / 346.7 MB