Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Modelica_StateGraph2 with version 2.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo) Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Sequence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_StateGraph2): time 2.53/2.53, allocations: 208.4 MB / 221 MB, free: 15.45 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.309e-05, allocations: 4 kB / 276.1 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4316, allocations: 47.78 MB / 323.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.5759, allocations: 71.77 MB / 395.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000163/0.5761, allocations: 47.98 kB / 395.7 MB, free: 5.367 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.01644/0.5925, allocations: 4.023 MB / 399.7 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5926, allocations: 0 / 399.7 MB, free: 1.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.5926, allocations: 8 kB / 399.8 MB, free: 1.312 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007162/0.5934, allocations: 478.9 kB / 400.2 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5934, allocations: 8.031 kB / 400.2 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.5936, allocations: 62.53 kB / 400.3 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.87e-05/0.5937, allocations: 35.62 kB / 400.3 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.5943, allocations: 278.5 kB / 400.6 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.5943, allocations: 20.78 kB / 400.6 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.5944, allocations: 31.95 kB / 400.7 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/0.5953, allocations: 353.3 kB / 401 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.5953, allocations: 0 / 401 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.5953, allocations: 12 kB / 401 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.5954, allocations: 8 kB / 401 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.5959, allocations: 194.1 kB / 401.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.5981, allocations: 1.325 MB / 402.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.5985, allocations: 280.9 kB / 402.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.5987, allocations: 48.86 kB / 402.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.93e-05/0.5988, allocations: 81.11 kB / 402.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.5988, allocations: 34.56 kB / 403 MB, free: 13.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.186e-06/0.5988, allocations: 0 / 403 MB, free: 13.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003741/0.5992, allocations: 117.7 kB / 403.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.5993, allocations: 59.39 kB / 403.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.5996, allocations: 190 kB / 403.3 MB, free: 13.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.5996, allocations: 37.7 kB / 403.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.5998, allocations: 164.1 kB / 403.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.5998, allocations: 39.59 kB / 403.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.5999, allocations: 4 kB / 403.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6, allocations: 334.8 kB / 403.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.6002, allocations: 51.8 kB / 403.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.6004, allocations: 149.7 kB / 404.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.6006, allocations: 69 kB / 404.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6006, allocations: 4 kB / 404.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005399/0.6012, allocations: 234.3 kB / 404.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6012, allocations: 8 kB / 404.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.6012, allocations: 480 / 404.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.6013, allocations: 8 kB / 404.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.6014, allocations: 23.88 kB / 404.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.6014, allocations: 7.984 kB / 404.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.6016, allocations: 8 kB / 404.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.6017, allocations: 16 kB / 404.5 MB, free: 12.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.step1.oldActive,step1.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,step1.active,$PRE.step1.newActive,step1.newActive,step1.outport_fire,T1.condition,T1.enableFire,step2.active,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.condition,T2.enableFire,step3.active,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step1.node.resume,step1.node.suspend,step3.outport_fire,step1.inport_fire,step3.inPort[1].checkUnaryConnection,step1.outPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001627/0.6018, allocations: 136 kB / 404.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.6019, allocations: 15.81 kB / 404.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.6023, allocations: 148.9 kB / 404.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6023, allocations: 0 / 404.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6023, allocations: 4 kB / 404.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6023, allocations: 0 / 404.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/0.6032, allocations: 494.3 kB / 405.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6033, allocations: 0 / 405.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.6033, allocations: 11.92 kB / 405.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6033, allocations: 0 / 405.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.6034, allocations: 7.938 kB / 405.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.6034, allocations: 12 kB / 405.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6034, allocations: 3.953 kB / 405.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.6037, allocations: 220.8 kB / 405.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.6038, allocations: 100.9 kB / 405.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.6039, allocations: 4 kB / 405.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.604, allocations: 3.938 kB / 405.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.6041, allocations: 19.97 kB / 405.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.6041, allocations: 11.95 kB / 405.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.6043, allocations: 129.2 kB / 405.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6043, allocations: 4 kB / 405.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004416/0.6048, allocations: 35.98 kB / 405.8 MB, free: 10.77 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: 17 (step1.outport_fire,step2.outport_fire,step1.active,step1.newActive,step1.oldActive,T1.condition,T1.enableFire,step2.active,step2.newActive,step2.oldActive,step2.inport_fire,T2.condition,T2.enableFire,step3.active,step3.newActive,step3.oldActive,step3.inport_fire) * Number of discrete states: 3 (step3.newActive,step2.newActive,step1.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007209/0.6055, allocations: 0.7763 MB / 406.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.6059, allocations: 131.8 kB / 406.7 MB, free: 9.832 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6059, allocations: 3.938 kB / 406.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.6061, allocations: 50.02 kB / 406.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.6063, allocations: 13.12 kB / 406.8 MB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/0.6074, allocations: 328.5 kB / 407.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.6078, allocations: 0.7635 MB / 407.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.6079, allocations: 30.06 kB / 407.9 MB, free: 8.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.6081, allocations: 75.41 kB / 407.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.6081, allocations: 0 / 407.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.6421, allocations: 3.504 MB / 411.5 MB, free: 5.043 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003713/0.6425, allocations: 168.1 kB / 411.6 MB, free: 4.816 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.487, allocations: 0 / 411.6 MB, free: 4.816 MB / 346.7 MB