Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelOutsideDelay.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.ParallelOutsideDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelOutsideDelay") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelOutsideDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelOutsideDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00811/0.00811, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001935/0.001935, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2466/0.2466, allocations: 13.54 MB / 304.1 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 421.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3558, allocations: 52.69 MB / 474.4 MB, free: 28.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelOutsideDelay): time 0.003611/0.3594, allocations: 2.446 MB / 476.9 MB, free: 26.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.3619, allocations: 1.304 MB / 478.2 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.3622, allocations: 32.97 kB / 478.2 MB, free: 25.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.3644, allocations: 1.342 MB / 479.6 MB, free: 24.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.3646, allocations: 59.41 kB / 479.6 MB, free: 24.71 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.001251/0.3659, allocations: 477 kB / 480.1 MB, free: 24.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.3669, allocations: 0.9285 MB / 481 MB, free: 23.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.3686, allocations: 1.356 MB / 482.4 MB, free: 22.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/0.369, allocations: 368.6 kB / 482.7 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.3693, allocations: 369.5 kB / 483.1 MB, free: 22.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.3694, allocations: 81.38 kB / 483.2 MB, free: 22.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.3697, allocations: 110.1 kB / 483.3 MB, free: 22.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.3699, allocations: 232 kB / 483.5 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.3702, allocations: 382.2 kB / 483.9 MB, free: 21.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.3714, allocations: 1.02 MB / 484.9 MB, free: 21.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.3714, allocations: 0 / 484.9 MB, free: 21.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.3714, allocations: 5.156 kB / 484.9 MB, free: 21.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.3714, allocations: 0 / 484.9 MB, free: 21.25 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.001584/0.373, allocations: 1.024 MB / 485.9 MB, free: 20.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3731, allocations: 12.86 kB / 485.9 MB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.3733, allocations: 92.52 kB / 486 MB, free: 20.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007989/0.3741, allocations: 0.5137 MB / 486.5 MB, free: 19.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.3742, allocations: 71.78 kB / 486.6 MB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3743, allocations: 86.62 kB / 486.7 MB, free: 19.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3758, allocations: 1.046 MB / 487.7 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.3759, allocations: 1.062 kB / 487.7 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.3759, allocations: 36.66 kB / 487.8 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.376, allocations: 26.88 kB / 487.8 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.3772, allocations: 0.7326 MB / 488.5 MB, free: 18.79 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.003655/0.3808, allocations: 3.222 MB / 491.8 MB, free: 16.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009349/0.3818, allocations: 0.7637 MB / 492.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/0.3822, allocations: 253.5 kB / 492.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.3824, allocations: 257.4 kB / 493 MB, free: 15.01 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.0005194/0.383, allocations: 303.3 kB / 493.3 MB, free: 14.82 MB / 366.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed.