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.001612/0.001612, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 196.7 kB / 16.54 MB, free: 6.672 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2643/0.2643, allocations: 13.54 MB / 303.9 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 67.91 kB / 367.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1586, allocations: 52.69 MB / 420.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelInsideDelay): time 0.005618/0.1643, allocations: 2.43 MB / 422.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003701/0.168, allocations: 1.309 MB / 424.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007639/0.1688, allocations: 23.88 kB / 424.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.172, allocations: 1.352 MB / 425.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.1727, allocations: 67.25 kB / 425.7 MB, free: 12.53 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.001884/0.1746, allocations: 480.7 kB / 426.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.176, allocations: 0.9172 MB / 427.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.1781, allocations: 1.365 MB / 428.4 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.1787, allocations: 358.8 kB / 428.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.1792, allocations: 370.3 kB / 429.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.1794, allocations: 84 kB / 429.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.1797, allocations: 99.98 kB / 429.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.18, allocations: 231.3 kB / 429.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.1805, allocations: 381.9 kB / 429.9 MB, free: 8.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.1817, allocations: 0.9579 MB / 430.9 MB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.1817, allocations: 0 / 430.9 MB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1818, allocations: 0 / 430.9 MB, free: 7.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.696e-05/0.1818, allocations: 0 / 430.9 MB, free: 7.301 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.001961/0.1838, allocations: 1.017 MB / 431.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1838, allocations: 15.89 kB / 431.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.1841, allocations: 91.89 kB / 432 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008454/0.1849, allocations: 0.4947 MB / 432.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/0.185, allocations: 70.38 kB / 432.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.1852, allocations: 88.31 kB / 432.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.1872, allocations: 1.046 MB / 433.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.1872, allocations: 3.938 kB / 433.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/0.1873, allocations: 36 kB / 433.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.1873, allocations: 24 kB / 433.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.1887, allocations: 0.7376 MB / 434.5 MB, free: 3.539 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.004351/0.193, allocations: 3.213 MB / 437.7 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2155/0.4085, allocations: 0.6968 MB / 438.4 MB, free: 57.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.4089, allocations: 248.3 kB / 438.6 MB, free: 57.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.4091, allocations: 254.8 kB / 438.9 MB, free: 57.59 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.0004088/0.4095, allocations: 306.3 kB / 439.2 MB, free: 57.53 MB / 366.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed.