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.008262/0.008262, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001428/0.001427, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.0903/0.0903, allocations: 13.54 MB / 304.1 MB, free: 1.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 421.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1132, allocations: 52.7 MB / 474.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelInsideDelay): time 0.003928/0.1172, allocations: 2.448 MB / 476.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.1201, allocations: 1.293 MB / 478 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.1205, allocations: 27.81 kB / 478 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.123, allocations: 1.352 MB / 479.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1232, allocations: 67.25 kB / 479.5 MB, free: 4.387 MB / 350.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.00142/0.1246, allocations: 475 kB / 479.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1257, allocations: 0.921 MB / 480.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.1274, allocations: 1.361 MB / 482.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000371/0.1278, allocations: 358.8 kB / 482.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.1282, allocations: 366.2 kB / 482.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.1283, allocations: 84 kB / 483 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.1285, allocations: 107.9 kB / 483.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.1287, allocations: 231.3 kB / 483.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.129, allocations: 385.9 kB / 483.7 MB, free: 116 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009874/0.13, allocations: 1.016 MB / 484.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.13, allocations: 7.875 kB / 484.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.13, allocations: 0 / 484.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.13, allocations: 0 / 484.7 MB, free: 15.09 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.001276/0.1313, allocations: 1.05 MB / 485.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1314, allocations: 11.89 kB / 485.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.1315, allocations: 96.36 kB / 485.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/0.1323, allocations: 0.5262 MB / 486.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/0.1324, allocations: 74.36 kB / 486.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1325, allocations: 84.38 kB / 486.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.134, allocations: 1.042 MB / 487.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.1341, allocations: 0 / 487.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.1342, allocations: 43.98 kB / 487.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1342, allocations: 20 kB / 487.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.1354, allocations: 0.7298 MB / 488.4 MB, free: 11.27 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.003504/0.1389, allocations: 3.202 MB / 491.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.1397, allocations: 0.7 MB / 492.3 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.1401, allocations: 245.6 kB / 492.5 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.1403, allocations: 259.4 kB / 492.8 MB, free: 6.594 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.0004481/0.1407, allocations: 304.9 kB / 493.1 MB, free: 6.277 MB / 366.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed.