Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence.conf.json Using package Modelica_StateGraph2 with version 2.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.02714/0.02714, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.317/2.317, allocations: 223.3 MB / 239.1 MB, free: 1.723 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 103.8 kB / 290.3 MB, free: 13.86 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.1086/0.1086, allocations: 13.58 MB / 355 MB, free: 13.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006348/0.0006348, allocations: 13.31 kB / 419.3 MB, free: 87.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09738, allocations: 53.72 MB / 473 MB, free: 34.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4581/0.5555, allocations: 76.98 MB / 0.5371 GB, free: 16.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001608/0.5558, allocations: 47.62 kB / 0.5371 GB, free: 16.45 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12183:5-12189: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.01598/0.5717, allocations: 4.233 MB / 0.5413 GB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.5718, allocations: 0 / 0.5413 GB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.29e-05/0.5718, allocations: 11.03 kB / 0.5413 GB, free: 15.84 MB / 362.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.0006963/0.5725, allocations: 486.4 kB / 0.5417 GB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5726, allocations: 9.5 kB / 0.5417 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.5727, allocations: 67.5 kB / 0.5418 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.591e-05/0.5728, allocations: 44.16 kB / 0.5419 GB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.5733, allocations: 280.5 kB / 0.5421 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.5734, allocations: 23.47 kB / 0.5421 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.5735, allocations: 27.03 kB / 0.5422 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.5743, allocations: 355.6 kB / 0.5425 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5743, allocations: 5.125 kB / 0.5425 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.5744, allocations: 10.81 kB / 0.5425 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5744, allocations: 6.938 kB / 0.5425 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/0.575, allocations: 206 kB / 0.5427 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.5769, allocations: 1.335 MB / 0.544 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.5773, allocations: 280.7 kB / 0.5443 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.643e-05/0.5774, allocations: 86.47 kB / 0.5444 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.5775, allocations: 37.2 kB / 0.5444 GB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.397e-06/0.5775, allocations: 0 / 0.5444 GB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004854/0.578, allocations: 154.4 kB / 0.5446 GB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.578, allocations: 60.23 kB / 0.5446 GB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.5783, allocations: 196.7 kB / 0.5448 GB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.5783, allocations: 31.86 kB / 0.5448 GB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5785, allocations: 163.9 kB / 0.545 GB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.5785, allocations: 40.75 kB / 0.545 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.5785, allocations: 4.562 kB / 0.545 GB, free: 13.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.5786, allocations: 328.5 kB / 0.5453 GB, free: 13.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.5788, allocations: 46.7 kB / 0.5454 GB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.579, allocations: 162.5 kB / 0.5455 GB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.5792, allocations: 64.47 kB / 0.5456 GB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5792, allocations: 1.031 kB / 0.5456 GB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005462/0.5797, allocations: 245 kB / 0.5458 GB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.5798, allocations: 9.297 kB / 0.5459 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.5798, allocations: 7.391 kB / 0.5459 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.5798, allocations: 5.312 kB / 0.5459 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.58, allocations: 18 kB / 0.5459 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.58, allocations: 5.469 kB / 0.5459 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.5802, allocations: 9 kB / 0.5459 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.5802, allocations: 14.75 kB / 0.5459 GB, free: 12.79 MB / 362.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.connectorNode.node.resume,step1.connectorNode.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 () * Number of clocked 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.0002606/0.5805, allocations: 177.9 kB / 0.5461 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.5806, allocations: 21.16 kB / 0.5461 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.5809, allocations: 143 kB / 0.5462 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.581, allocations: 3.641 kB / 0.5462 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.581, allocations: 0 / 0.5462 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.581, allocations: 4.562 kB / 0.5462 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008628/0.5819, allocations: 0.4993 MB / 0.5467 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5819, allocations: 3.953 kB / 0.5467 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.5819, allocations: 4.562 kB / 0.5467 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.5819, allocations: 0 / 0.5467 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.582, allocations: 5.406 kB / 0.5467 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.582, allocations: 2.297 kB / 0.5467 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.582, allocations: 3.938 kB / 0.5468 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.5823, allocations: 225.1 kB / 0.547 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.5824, allocations: 102.9 kB / 0.5471 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.5825, allocations: 5.422 kB / 0.5471 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.5826, allocations: 2.719 kB / 0.5471 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.5827, allocations: 16.88 kB / 0.5471 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.5827, allocations: 3.75 kB / 0.5471 GB, free: 12.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.5829, allocations: 128.5 kB / 0.5472 GB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5829, allocations: 0 / 0.5472 GB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004907/0.5834, allocations: 38.98 kB / 0.5473 GB, free: 11.96 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: 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) * Number of clocked states: 0 () * 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.0006071/0.584, allocations: 0.7809 MB / 0.548 GB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.5844, allocations: 147.2 kB / 0.5482 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5845, allocations: 0 / 0.5482 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.5846, allocations: 50.08 kB / 0.5482 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.5849, allocations: 18.88 kB / 0.5482 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.5883, allocations: 3.335 MB / 0.5515 GB, free: 24.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.5889, allocations: 0.7691 MB / 0.5522 GB, free: 23.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.5891, allocations: 26.56 kB / 0.5523 GB, free: 23.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.5892, allocations: 76.34 kB / 0.5523 GB, free: 23.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5892, allocations: 0 / 0.5523 GB, free: 23.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.6152, allocations: 3.531 MB / 0.5558 GB, free: 23.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.6155, allocations: 185.2 kB / 0.556 GB, free: 23.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/3.411, allocations: 0 / 0.556 GB, free: 23.06 MB / 378.7 MB