Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelInsideDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelInsideDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelInsideDelay") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelInsideDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelInsideDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007259/0.007259, allocations: 102.4 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 195.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.3172/0.3172, allocations: 13.54 MB / 304.1 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 421.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3112, allocations: 52.71 MB / 474.5 MB, free: 28.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelInsideDelay): time 0.003514/0.3147, allocations: 2.445 MB / 476.9 MB, free: 26.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.3171, allocations: 1.295 MB / 478.2 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.3174, allocations: 28.97 kB / 478.2 MB, free: 25.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.3193, allocations: 1.345 MB / 479.6 MB, free: 24.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.3195, allocations: 68 kB / 479.6 MB, free: 24.66 MB / 366.1 MB [/home/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15020:7-15026: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15020:7-15026:3:writable] Warning: The first argument 'parallel.local_entry.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRootIndices. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: The first argument 'parallel.local_entry.node' of Connections.uniqueRootIndices must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: The second argument 'parallel.local_exit.node' of Connections.uniqueRootIndices must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15046:9-15046:83:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/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 NFTyping.typeClassSections: time 0.001157/0.3207, allocations: 478.7 kB / 480.1 MB, free: 24.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000862/0.3215, allocations: 0.922 MB / 481 MB, free: 23.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.3233, allocations: 1.363 MB / 482.4 MB, free: 22.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.3237, allocations: 368.3 kB / 482.7 MB, free: 22.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.3241, allocations: 365.1 kB / 483.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.3243, allocations: 86.22 kB / 483.2 MB, free: 22.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3245, allocations: 106.6 kB / 483.3 MB, free: 22.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.3247, allocations: 231.8 kB / 483.5 MB, free: 22.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.325, allocations: 378.2 kB / 483.9 MB, free: 21.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.326, allocations: 1.019 MB / 484.9 MB, free: 21.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.326, allocations: 0 / 484.9 MB, free: 21.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3261, allocations: 1.188 kB / 484.9 MB, free: 21.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3261, allocations: 0 / 484.9 MB, free: 21.21 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001401/0.3275, allocations: 1.024 MB / 485.9 MB, free: 20.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3275, allocations: 17.52 kB / 485.9 MB, free: 20.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.3277, allocations: 88.06 kB / 486 MB, free: 20.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.3285, allocations: 0.5177 MB / 486.5 MB, free: 19.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-05/0.3286, allocations: 75.61 kB / 486.6 MB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.3287, allocations: 86.56 kB / 486.7 MB, free: 19.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.3302, allocations: 1.042 MB / 487.7 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3303, allocations: 5.234 kB / 487.8 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.3304, allocations: 37.09 kB / 487.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.3304, allocations: 21.62 kB / 487.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.3317, allocations: 0.7329 MB / 488.5 MB, free: 18.74 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:14978:9-14978:46:writable] Error: Found equation without time-dependent variables: parallel.entry_restart[1] = true Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.335, allocations: 3.193 MB / 491.7 MB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.3358, allocations: 0.7028 MB / 492.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.3362, allocations: 245.2 kB / 492.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.3363, allocations: 261.9 kB / 492.9 MB, free: 15.08 MB / 366.1 MB Error: An independent subset of the model has imbalanced number of equations (3) and variables (2). variables: step5.outPort[1].checkOneDelayedTransitionPerLoop step5.inPort[1].checkOneDelayedTransitionPerLoop equations: 1 : true = step5.inPort[1].checkOneDelayedTransitionPerLoop 2 : step5.outPort[1].checkOneDelayedTransitionPerLoop = true 3 : step5.outPort[1].checkOneDelayedTransitionPerLoop = Modelica_StateGraph2.Internal.Utilities.propagateLoopCheck({step5.inPort[1].checkOneDelayedTransitionPerLoop}) Notification: Performance of preOpt encapsulateWhenConditions (simulation) : time 0.00041/0.3368, allocations: 302.3 kB / 493.2 MB, free: 14.89 MB / 366.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed.