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.001036/0.001036, 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.002279/0.002279, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2797/0.2797, allocations: 13.53 MB / 303.9 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001807, allocations: 59.91 kB / 367.8 MB, free: 6.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1832, allocations: 52.7 MB / 420.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelOutsideDelay): time 0.005125/0.1884, allocations: 2.428 MB / 423 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.1912, allocations: 1.301 MB / 424.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.1915, allocations: 27.81 kB / 424.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.194, allocations: 1.352 MB / 425.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.1942, allocations: 63.27 kB / 425.7 MB, free: 12.47 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.001435/0.1957, allocations: 480.7 kB / 426.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009679/0.1966, allocations: 0.9133 MB / 427.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.1983, allocations: 1.365 MB / 428.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.1987, allocations: 358.8 kB / 428.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.1991, allocations: 366.3 kB / 429.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.1993, allocations: 84 kB / 429.2 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.1995, allocations: 107.9 kB / 429.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.1998, allocations: 231.3 kB / 429.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.2002, allocations: 377.9 kB / 429.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.2015, allocations: 0.9618 MB / 430.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.2015, allocations: 0 / 430.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.2015, allocations: 4 kB / 430.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.2015, allocations: 0 / 430.9 MB, free: 7.234 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.001624/0.2032, allocations: 1.009 MB / 431.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.2032, allocations: 15.89 kB / 431.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.2034, allocations: 91.91 kB / 432 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.2042, allocations: 0.4948 MB / 432.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.726e-05/0.2043, allocations: 70.38 kB / 432.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.2044, allocations: 92.31 kB / 432.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.206, allocations: 1.042 MB / 433.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.2061, allocations: 0 / 433.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/0.2062, allocations: 36 kB / 433.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.2062, allocations: 27.94 kB / 433.8 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.2074, allocations: 0.7337 MB / 434.5 MB, free: 3.48 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.00399/0.2114, allocations: 3.259 MB / 437.8 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3152/0.5266, allocations: 0.7595 MB / 438.5 MB, free: 57.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.527, allocations: 250.2 kB / 438.8 MB, free: 57.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.5272, allocations: 254.7 kB / 439 MB, free: 57.22 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.0004493/0.5277, allocations: 308.8 kB / 439.3 MB, free: 57.16 MB / 366.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed.