Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 111 kB / 17.14 MB, free: 6.039 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.001502/0.001502, allocations: 200.2 kB / 18.08 MB, free: 5.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07419/0.07419, allocations: 12.59 MB / 283.9 MB, free: 15.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.36e-05, allocations: 2.281 kB / 394.8 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.002337/0.002368, allocations: 1.568 MB / 396.3 MB, free: 44.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.003195, allocations: 0.5119 MB / 396.8 MB, free: 43.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.003287, allocations: 5.938 kB / 396.9 MB, free: 43.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.425e-05/0.003337, allocations: 5.203 kB / 396.9 MB, free: 43.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.003472, allocations: 7.531 kB / 396.9 MB, free: 43.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.003737, allocations: 54.62 kB / 396.9 MB, free: 43.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003878, allocations: 60.28 kB / 397 MB, free: 43.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003988, allocations: 17.73 kB / 397 MB, free: 43.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.00406, allocations: 19.31 kB / 397 MB, free: 43.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.004123, allocations: 26.03 kB / 397 MB, free: 43.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.004145, allocations: 2.938 kB / 397 MB, free: 43.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.004161, allocations: 2.969 kB / 397 MB, free: 43.87 MB / 318.1 MB Notification: Performance of combineBinaries: time 7.913e-05/0.004246, allocations: 91.47 kB / 397.1 MB, free: 43.8 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.887e-05/0.00428, allocations: 56.06 kB / 397.2 MB, free: 43.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.004302, allocations: 11.03 kB / 397.2 MB, free: 43.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-05/0.004327, allocations: 5.094 kB / 397.2 MB, free: 43.75 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.0003242/0.004655, allocations: 340.9 kB / 397.5 MB, free: 43.41 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.333e-05/0.004725, allocations: 22.36 kB / 397.6 MB, free: 43.39 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001021/0.004834, allocations: 129.5 kB / 397.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simplify1: time 1.791e-05/0.004857, allocations: 3.703 kB / 397.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of Alias: time 0.0002996/0.005162, allocations: 213.1 kB / 397.9 MB, free: 43.08 MB / 318.1 MB Notification: Performance of simplify2: time 9.838e-06/0.005181, allocations: 4.734 kB / 397.9 MB, free: 43.08 MB / 318.1 MB Notification: Performance of Events: time 5.974e-05/0.005245, allocations: 26.31 kB / 397.9 MB, free: 43.06 MB / 318.1 MB Notification: Performance of Detect States: time 6.656e-05/0.005318, allocations: 46.02 kB / 398 MB, free: 43.02 MB / 318.1 MB Notification: Performance of Partitioning: time 6.303e-05/0.005386, allocations: 44.77 kB / 398 MB, free: 42.98 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002092/0.005602, allocations: 187.9 kB / 398.2 MB, free: 42.88 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 9.512e-05/0.005704, allocations: 119.1 kB / 398.3 MB, free: 42.77 MB / 318.1 MB Notification: Performance of Inline: time 0.0001347/0.005844, allocations: 157.1 kB / 398.5 MB, free: 42.64 MB / 318.1 MB Notification: Performance of Partitioning: time 1.342e-05/0.005863, allocations: 17.62 kB / 398.5 MB, free: 42.62 MB / 318.1 MB Notification: Performance of Cleanup: time 1.127e-05/0.005879, allocations: 5.406 kB / 398.5 MB, free: 42.62 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002384/0.006121, allocations: 205.2 kB / 398.7 MB, free: 42.51 MB / 318.1 MB Notification: Performance of Tearing: time 6.362e-06/0.006136, allocations: 0 / 398.7 MB, free: 42.51 MB / 318.1 MB Notification: Performance of Initialization: time 3e-07/0.006141, allocations: 0 / 398.7 MB, free: 42.51 MB / 318.1 MB Notification: Performance of Tearing: time 1.994e-06/0.006149, allocations: 5.062 kB / 398.7 MB, free: 42.5 MB / 318.1 MB Notification: Performance of Categorize: time 1.106e-05/0.006164, allocations: 1.766 kB / 398.7 MB, free: 42.5 MB / 318.1 MB Notification: Performance of Solve: time 6.165e-05/0.006231, allocations: 17.95 kB / 398.7 MB, free: 42.5 MB / 318.1 MB Notification: Performance of Jacobian: time 2.966e-06/0.00624, allocations: 0 / 398.7 MB, free: 42.5 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.434e-05/0.00628, allocations: 19.14 kB / 398.7 MB, free: 42.48 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.