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.00108/0.00108, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001237/0.001237, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2581/0.2581, allocations: 13.53 MB / 303.6 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 59.91 kB / 367.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1649, allocations: 52.68 MB / 420 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelOutsideDelay): time 0.003534/0.1684, allocations: 2.453 MB / 422.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.1708, allocations: 1.285 MB / 423.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.1711, allocations: 27.75 kB / 423.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.1732, allocations: 1.229 MB / 425 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1734, allocations: 35.66 kB / 425 MB, free: 13.01 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.001255/0.1747, allocations: 428.8 kB / 425.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009035/0.1756, allocations: 0.9249 MB / 426.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.1773, allocations: 1.488 MB / 427.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.1777, allocations: 358.7 kB / 428.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.178, allocations: 370.2 kB / 428.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.625e-05/0.1781, allocations: 84 kB / 428.7 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.1783, allocations: 104 kB / 428.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.1785, allocations: 231.3 kB / 429 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.1789, allocations: 385.9 kB / 429.4 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009339/0.1798, allocations: 0.9463 MB / 430.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1798, allocations: 4 kB / 430.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1799, allocations: 0 / 430.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1799, allocations: 4 kB / 430.3 MB, free: 7.695 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.001296/0.1812, allocations: 1.021 MB / 431.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1812, allocations: 15.89 kB / 431.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.1814, allocations: 91.84 kB / 431.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.182, allocations: 0.4909 MB / 431.9 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.1821, allocations: 74.38 kB / 432 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.1822, allocations: 88.38 kB / 432.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.1838, allocations: 1.045 MB / 433.1 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.1838, allocations: 3.938 kB / 433.1 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.1839, allocations: 32 kB / 433.2 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.1839, allocations: 24 kB / 433.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.185, allocations: 0.7337 MB / 433.9 MB, free: 3.938 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.00354/0.1886, allocations: 3.235 MB / 437.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2075/0.3961, allocations: 0.7295 MB / 437.9 MB, free: 58.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.3965, allocations: 243.2 kB / 438.1 MB, free: 58.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.3967, allocations: 254.8 kB / 438.4 MB, free: 57.93 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.0003829/0.3971, allocations: 299.5 kB / 438.7 MB, free: 57.87 MB / 366.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed.