Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions3.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.Actions3,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_StateGraph2): time 2.526/2.526, allocations: 208.4 MB / 221 MB, free: 15.43 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.21e-05/4.224e-05, allocations: 11.98 kB / 276.1 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.388, allocations: 47.77 MB / 323.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.5288, allocations: 72.13 MB / 396 MB, free: 5.055 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.5291, allocations: 47.98 kB / 396.1 MB, free: 5.008 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.03499/0.5641, allocations: 8.124 MB / 404.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5642, allocations: 0 / 404.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.016e-05/0.5643, allocations: 24 kB / 404.2 MB, free: 12.83 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001695/0.566, allocations: 0.7396 MB / 405 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.566, allocations: 11.98 kB / 405 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002661/0.5663, allocations: 122.5 kB / 405.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.5666, allocations: 75.16 kB / 405.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.5679, allocations: 453.8 kB / 405.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-05/0.568, allocations: 58 kB / 405.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.5682, allocations: 72 kB / 405.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.5703, allocations: 0.8037 MB / 406.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.5703, allocations: 0 / 406.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.5705, allocations: 32 kB / 406.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/0.5705, allocations: 25.31 kB / 406.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.5721, allocations: 0.497 MB / 407.1 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005764/0.5779, allocations: 3.205 MB / 410.3 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009493/0.5789, allocations: 0.6458 MB / 410.9 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.5793, allocations: 124.8 kB / 411.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.5794, allocations: 89.09 kB / 411.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.5799, allocations: 190.8 kB / 411.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 4.167e-06/0.5799, allocations: 0 / 411.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.0009118/0.5809, allocations: 317.1 kB / 411.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.581, allocations: 191.9 kB / 411.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/0.5817, allocations: 357.9 kB / 412.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.5818, allocations: 53.69 kB / 412.2 MB, free: 4.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.5823, allocations: 280.1 kB / 412.5 MB, free: 3.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.5825, allocations: 102.9 kB / 412.6 MB, free: 3.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.5825, allocations: 16 kB / 412.6 MB, free: 3.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.5827, allocations: 354.8 kB / 413 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.5832, allocations: 133.5 kB / 413.1 MB, free: 3.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/0.5838, allocations: 402.6 kB / 413.5 MB, free: 2.777 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.5843, allocations: 181.5 kB / 413.7 MB, free: 2.598 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.5843, allocations: 4 kB / 413.7 MB, free: 2.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001376/0.5857, allocations: 0.566 MB / 414.3 MB, free: 2.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.5858, allocations: 8 kB / 414.3 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.5858, allocations: 8 kB / 414.3 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.05e-05/0.5859, allocations: 12 kB / 414.3 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.5862, allocations: 55.78 kB / 414.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.961e-05/0.5862, allocations: 19.89 kB / 414.4 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.5868, allocations: 48 kB / 414.4 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/0.5869, allocations: 40 kB / 414.4 MB, free: 1.832 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 91 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.T5.enableFire,$PRE.initialStep.oldActive,initialStep.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,$PRE.step4.oldActive,step4.oldActive,$PRE.step1.oldActive,step1.oldActive,$PRE.add1.y,add1.y,initialStep.node.resume,initialStep.node.suspend,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,initialStep.outport_fire,T1.fire,T1.enableFire,$PRE.T1.t_start,T1.t_start,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.enableFire,$PRE.T2.t_start,T2.t_start,T2.firePort,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,$PRE.step4.newActive,step4.newActive,step4.inport_fire,step4.outport_fire,T4.fire,T4.enableFire,$PRE.T4.t_start,T4.t_start,T5.enableFire,$PRE.T5.t_start,T5.t_start,T5.firePort,$PRE.step1.newActive,step1.newActive,step1.inport_fire,step1.outport_fire,$PRE.set1.y,set1.y,set1.firstActiveIndex,set1.expr[1],set1.expr[2],T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,T5.outPort.checkOneDelayedTransitionPerLoop,step1.outPort[1].checkOneDelayedTransitionPerLoop,step1.inPort[1].checkUnaryConnection,T4.outPort.checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,step4.inPort[1].checkUnaryConnection,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,T1.outPort.checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0003239/0.5873, allocations: 188.6 kB / 414.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5874, allocations: 39.53 kB / 414.7 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009694/0.5884, allocations: 345.7 kB / 415 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.5885, allocations: 4 kB / 415 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5885, allocations: 0 / 415 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.5885, allocations: 7.938 kB / 415 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.5912, allocations: 1.011 MB / 416 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.5913, allocations: 4 kB / 416 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.5914, allocations: 15.94 kB / 416 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.5914, allocations: 4 kB / 416 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.5915, allocations: 11.98 kB / 416.1 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.557e-06/0.5915, allocations: 4.062 kB / 416.1 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5915, allocations: 0 / 416.1 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.5924, allocations: 422.5 kB / 416.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.5927, allocations: 140.5 kB / 416.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/0.5928, allocations: 15.98 kB / 416.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.5932, allocations: 31.97 kB / 416.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.5934, allocations: 39.94 kB / 416.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.5935, allocations: 15.98 kB / 416.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000353/0.5938, allocations: 206.2 kB / 416.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5938, allocations: 0 / 416.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008586/0.5947, allocations: 104 kB / 417 MB, free: 15.14 MB / 362.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: 45 (initialStep.inport_fire,initialStep.outport_fire,T1.enableFire,step2.outport_fire,T2.firePort,T2.enableFire,step3.outport_fire,T4.enableFire,step4.outport_fire,T5.firePort,T5.enableFire,T3.enableFire,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,T1.fire,T1.t_start,step2.newActive,step2.oldActive,step2.inport_fire,T2.t_start,step3.newActive,step3.oldActive,step3.inport_fire,T3.fire,T3.t_start,step4.newActive,step4.oldActive,step4.inport_fire,T4.fire,T4.t_start,T5.t_start,step1.newActive,step1.oldActive,step1.inport_fire,step1.outport_fire,add1.y,set1.y,set1.firstActiveIndex) * Number of discrete states: 7 (step1.newActive,step4.newActive,step3.newActive,step2.newActive,initialStep.newActive,set1.y,add1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001435/0.5962, allocations: 0.9957 MB / 418 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.5972, allocations: 379 kB / 418.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5973, allocations: 0 / 418.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.5976, allocations: 149 kB / 418.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.5981, allocations: 41.2 kB / 418.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.6004, allocations: 0.7282 MB / 419.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.6011, allocations: 0.9028 MB / 420.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003804/0.6015, allocations: 80.36 kB / 420.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.6019, allocations: 191.4 kB / 420.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.6019, allocations: 0 / 420.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05009/0.6521, allocations: 8.585 MB / 429 MB, free: 3.062 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003724/0.6525, allocations: 168.2 kB / 429.2 MB, free: 2.836 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/3.85, allocations: 0 / 429.2 MB, free: 2.836 MB / 362.7 MB