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.004723/0.004723, allocations: 101.5 kB / 15.73 MB, free: 6.496 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.001134/0.001134, allocations: 189.3 kB / 16.67 MB, free: 6.379 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.415/1.415, 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.2558/0.2558, allocations: 13.54 MB / 304.1 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 421.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3401, allocations: 52.7 MB / 474.5 MB, free: 28.76 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelInsideDelay): time 0.003684/0.3439, allocations: 2.437 MB / 476.9 MB, free: 26.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.3461, allocations: 1.306 MB / 478.2 MB, free: 25.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.3464, allocations: 28.38 kB / 478.2 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.3485, allocations: 1.342 MB / 479.6 MB, free: 24.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3486, allocations: 62.58 kB / 479.6 MB, free: 24.7 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.001294/0.3499, allocations: 489.4 kB / 480.1 MB, free: 24.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.3512, allocations: 0.9214 MB / 481 MB, free: 23.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.3531, allocations: 1.359 MB / 482.4 MB, free: 22.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.3535, allocations: 368.7 kB / 482.8 MB, free: 22.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.3538, allocations: 369.9 kB / 483.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.354, allocations: 81.97 kB / 483.2 MB, free: 22.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.3542, allocations: 109.3 kB / 483.3 MB, free: 22.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.3544, allocations: 231.7 kB / 483.5 MB, free: 22.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.3547, allocations: 382.6 kB / 483.9 MB, free: 21.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009513/0.3557, allocations: 1.02 MB / 484.9 MB, free: 21.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3557, allocations: 0 / 484.9 MB, free: 21.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3557, allocations: 0 / 484.9 MB, free: 21.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.3557, allocations: 0 / 484.9 MB, free: 21.23 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.001294/0.357, allocations: 1.025 MB / 485.9 MB, free: 20.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3571, allocations: 13.23 kB / 486 MB, free: 20.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.3573, allocations: 88.12 kB / 486 MB, free: 20.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008204/0.3581, allocations: 0.5258 MB / 486.6 MB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.3582, allocations: 71.05 kB / 486.6 MB, free: 19.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.3583, allocations: 86.47 kB / 486.7 MB, free: 19.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.3599, allocations: 1.039 MB / 487.8 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.36, allocations: 5.188 kB / 487.8 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.3601, allocations: 39.86 kB / 487.8 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.3601, allocations: 22.5 kB / 487.8 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3613, allocations: 0.7298 MB / 488.6 MB, free: 18.76 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.003728/0.365, allocations: 3.188 MB / 491.7 MB, free: 16.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009276/0.366, allocations: 0.7037 MB / 492.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.3664, allocations: 245.6 kB / 492.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.3666, allocations: 265 kB / 492.9 MB, free: 15.1 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.0005228/0.3671, allocations: 294.8 kB / 493.2 MB, free: 14.92 MB / 366.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed.