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: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Sequence") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003271/0.00327, allocations: 355.9 kB / 15.94 MB, free: 6.211 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 4.659/4.659, allocations: 446.5 MB / 463.2 MB, free: 4.559 MB / 362.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003007/0.003007, allocations: 188 kB / 0.5024 GB, free: 1.238 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2173/0.2173, allocations: 27.15 MB / 0.5788 GB, free: 209.9 MB / 458.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006373/0.0006375, allocations: 8 kB / 0.6415 GB, free: 147.6 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.103, allocations: 53.71 MB / 0.6939 GB, free: 93.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.2176, allocations: 76.98 MB / 0.7691 GB, free: 16.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.218, allocations: 62.81 kB / 0.7692 GB, free: 16.69 MB / 458.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.015/0.233, allocations: 4.202 MB / 0.7733 GB, free: 12.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2331, allocations: 0 / 0.7733 GB, free: 12.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.967e-05/0.2331, allocations: 11.98 kB / 0.7733 GB, free: 12.45 MB / 458.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.0007017/0.2338, allocations: 488.5 kB / 0.7737 GB, free: 11.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2339, allocations: 9.469 kB / 0.7737 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.801e-05/0.234, allocations: 35.58 kB / 0.7738 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.2345, allocations: 274.6 kB / 0.774 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.2345, allocations: 28.64 kB / 0.7741 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.2346, allocations: 32 kB / 0.7741 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.2353, allocations: 351.7 kB / 0.7744 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.2353, allocations: 0 / 0.7744 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.2354, allocations: 19.94 kB / 0.7744 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.2354, allocations: 8 kB / 0.7745 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.2359, allocations: 202 kB / 0.7746 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.2377, allocations: 1.349 MB / 0.776 GB, free: 9.457 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.238, allocations: 273 kB / 0.7762 GB, free: 9.145 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.788e-05/0.2382, allocations: 40.84 kB / 0.7763 GB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.649e-05/0.2382, allocations: 85.11 kB / 0.7763 GB, free: 9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2383, allocations: 42.5 kB / 0.7764 GB, free: 8.949 MB / 458.7 MB Notification: Performance of pre-optimization done (n=17): time 3.376e-06/0.2383, allocations: 0 / 0.7764 GB, free: 8.949 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004165/0.2387, allocations: 156.8 kB / 0.7765 GB, free: 8.793 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.2388, allocations: 59.41 kB / 0.7766 GB, free: 8.723 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.239, allocations: 206.6 kB / 0.7768 GB, free: 8.512 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2391, allocations: 29.7 kB / 0.7768 GB, free: 8.477 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2392, allocations: 168.3 kB / 0.777 GB, free: 8.309 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.2392, allocations: 39.59 kB / 0.777 GB, free: 8.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.2392, allocations: 4 kB / 0.777 GB, free: 8.266 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.2393, allocations: 334.8 kB / 0.7773 GB, free: 7.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.2395, allocations: 43.98 kB / 0.7774 GB, free: 7.887 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.2396, allocations: 159.7 kB / 0.7775 GB, free: 7.684 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.2398, allocations: 63.92 kB / 0.7776 GB, free: 7.621 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2398, allocations: 4 kB / 0.7776 GB, free: 7.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004538/0.2403, allocations: 241.4 kB / 0.7778 GB, free: 7.375 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2403, allocations: 4 kB / 0.7778 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2403, allocations: 11.92 kB / 0.7778 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.2404, allocations: 8 kB / 0.7779 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2405, allocations: 15.94 kB / 0.7779 GB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.2405, allocations: 15.92 kB / 0.7779 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.2407, allocations: 8 kB / 0.7779 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.2407, allocations: 12 kB / 0.7779 GB, free: 7.301 MB / 458.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.0002268/0.2409, allocations: 179.1 kB / 0.7781 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.241, allocations: 19.77 kB / 0.7781 GB, free: 7.102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.2414, allocations: 142.8 kB / 0.7782 GB, free: 6.961 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2414, allocations: 4 kB / 0.7782 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2414, allocations: 0 / 0.7782 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2414, allocations: 0 / 0.7782 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007007/0.2421, allocations: 0.4905 MB / 0.7787 GB, free: 6.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2421, allocations: 4 kB / 0.7787 GB, free: 6.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.2422, allocations: 11.92 kB / 0.7787 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2422, allocations: 0 / 0.7787 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.2422, allocations: 4 kB / 0.7787 GB, free: 6.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2422, allocations: 4 kB / 0.7787 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2422, allocations: 0 / 0.7787 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.2425, allocations: 227.2 kB / 0.7789 GB, free: 6.148 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.2426, allocations: 96.91 kB / 0.779 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.2426, allocations: 12 kB / 0.7791 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2427, allocations: 3.938 kB / 0.7791 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.2428, allocations: 15.98 kB / 0.7791 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.2429, allocations: 7.969 kB / 0.7791 GB, free: 5.996 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.243, allocations: 130.1 kB / 0.7792 GB, free: 5.871 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.243, allocations: 3.938 kB / 0.7792 GB, free: 5.867 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004363/0.2434, allocations: 36 kB / 0.7792 GB, free: 5.832 MB / 458.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.0001801/0.2436, allocations: 120 kB / 0.7794 GB, free: 5.707 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.244, allocations: 139.1 kB / 0.7795 GB, free: 5.574 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.244, allocations: 0 / 0.7795 GB, free: 5.574 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.2441, allocations: 51.92 kB / 0.7795 GB, free: 5.523 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.2445, allocations: 25.06 kB / 0.7796 GB, free: 5.496 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2455, allocations: 439.5 kB / 0.78 GB, free: 5.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.246, allocations: 0.7638 MB / 0.7807 GB, free: 4.246 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.2462, allocations: 29.92 kB / 0.7808 GB, free: 4.219 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.879e-05/0.2463, allocations: 19.44 kB / 0.7808 GB, free: 4.199 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/0.2463, allocations: 0 / 0.7808 GB, free: 4.199 MB / 458.7 MB Notification: Performance of Templates: time 0.01037/0.2567, allocations: 1.338 MB / 0.7821 GB, free: 2.871 MB / 458.7 MB