Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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) 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.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 113.1 kB / 17.75 MB, free: 5.301 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.0009863/0.0009865, allocations: 188.6 kB / 18.69 MB, free: 4.375 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.001e-05, allocations: 2.281 kB / 351.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002606/0.002634, allocations: 1.843 MB / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.003647, allocations: 0.6282 MB / 354.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003774, allocations: 4 kB / 354.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.003919, allocations: 23.73 kB / 354.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.004037, allocations: 23.8 kB / 354.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.00439, allocations: 110.7 kB / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.004594, allocations: 151.6 kB / 354.7 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.004755, allocations: 69.69 kB / 354.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.347e-05/0.004855, allocations: 59.72 kB / 354.8 MB, free: 344 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.004935, allocations: 47.72 kB / 354.9 MB, free: 296 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.004968, allocations: 8 kB / 354.9 MB, free: 288 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.981e-05/0.004994, allocations: 12 kB / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001449/0.005143, allocations: 213.2 kB / 355.1 MB, free: 60 kB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 9.013e-05/0.00524, allocations: 146.1 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.005267, allocations: 15.94 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.821e-05/0.0053, allocations: 3.938 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 (22) * Number of variables: 22 (22) Notification: Performance of Bindings: time 0.0005745/0.00588, allocations: 0.6508 MB / 355.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.758e-05/0.005975, allocations: 35.97 kB / 356 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002269/0.006209, allocations: 260.2 kB / 356.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simplify1: time 2.865e-05/0.006244, allocations: 19.97 kB / 356.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Alias: time 0.0006857/0.006935, allocations: 0.5817 MB / 356.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simplify2: time 1.244e-05/0.006958, allocations: 7.984 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of Detect States: time 7.657e-05/0.007039, allocations: 60.14 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Events: time 9.262e-05/0.007142, allocations: 51.84 kB / 356.9 MB, free: 14 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001167/0.007265, allocations: 104.6 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003361/0.007608, allocations: 325.1 kB / 357.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001609/0.007779, allocations: 200.3 kB / 357.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of Inline: time 0.0003046/0.008089, allocations: 316.6 kB / 357.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of Partitioning: time 3.103e-05/0.008128, allocations: 35.98 kB / 357.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Cleanup: time 1.285e-05/0.008146, allocations: 4 kB / 357.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004906/0.008643, allocations: 466.8 kB / 358.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Tearing: time 1.138e-05/0.008663, allocations: 4 kB / 358.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Initialization: time 3.21e-07/0.008668, allocations: 0 / 358.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Tearing: time 2.094e-06/0.008676, allocations: 4 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Categorize: time 9.147e-06/0.00869, allocations: 0 / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Solve: time 8.229e-05/0.008776, allocations: 43.91 kB / 358.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Jacobian: time 3.216e-06/0.008786, allocations: 0 / 358.4 MB, free: 12.37 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ................. 5 (5) {$SEV_3, $SEV_2, $SEV_1, $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: ........... 14 (scalar:14, 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: ........... 18 (scalar:18, 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.907e-05/0.008829, allocations: 28.5 kB / 358.4 MB, free: 12.35 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.