Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 109.1 kB / 17.69 MB, free: 5.523 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.001198/0.001198, allocations: 193.2 kB / 18.63 MB, free: 4.594 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.212/1.212, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.255e-05, allocations: 6.219 kB / 302 MB, free: 5.211 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.002571/0.002608, allocations: 1.588 MB / 303.6 MB, free: 3.625 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003628/0.002983, allocations: 167.5 kB / 303.8 MB, free: 3.461 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.003076, allocations: 7.156 kB / 303.8 MB, free: 3.457 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.003124, allocations: 15.86 kB / 303.8 MB, free: 3.441 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.003234, allocations: 11.81 kB / 303.8 MB, free: 3.43 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.003462, allocations: 51.88 kB / 303.9 MB, free: 3.379 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003578, allocations: 67.83 kB / 303.9 MB, free: 3.312 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.003694, allocations: 37.83 kB / 304 MB, free: 3.277 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.003734, allocations: 23.92 kB / 304 MB, free: 3.254 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.003786, allocations: 31.8 kB / 304 MB, free: 3.223 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.003808, allocations: 4 kB / 304 MB, free: 3.219 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.003826, allocations: 8 kB / 304 MB, free: 3.211 MB / 238.1 MB Notification: Performance of combineBinaries: time 7.91e-05/0.003909, allocations: 110.6 kB / 304.1 MB, free: 3.102 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 3.666e-05/0.003951, allocations: 78.78 kB / 304.2 MB, free: 3.023 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.003974, allocations: 11.94 kB / 304.2 MB, free: 3.012 MB / 238.1 MB Notification: Performance of FrontEnd: time 2.863e-05/0.004007, allocations: 11.88 kB / 304.2 MB, free: 3 MB / 238.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 (17) * Number of variables: 17 (17) Notification: Performance of Bindings: time 0.0004029/0.004416, allocations: 372.3 kB / 304.6 MB, free: 2.535 MB / 238.1 MB Notification: Performance of FunctionAlias: time 4.338e-05/0.004466, allocations: 23.98 kB / 304.6 MB, free: 2.512 MB / 238.1 MB Notification: Performance of Early Inline: time 0.0001583/0.00463, allocations: 180.3 kB / 304.8 MB, free: 2.309 MB / 238.1 MB Notification: Performance of simplify1: time 1.283e-05/0.004648, allocations: 11.98 kB / 304.8 MB, free: 2.297 MB / 238.1 MB Notification: Performance of Alias: time 0.0004523/0.005105, allocations: 391.2 kB / 305.2 MB, free: 1.816 MB / 238.1 MB Notification: Performance of simplify2: time 7.985e-06/0.005122, allocations: 7.984 kB / 305.2 MB, free: 1.809 MB / 238.1 MB Notification: Performance of Events: time 9.998e-05/0.005228, allocations: 59.77 kB / 305.3 MB, free: 1.75 MB / 238.1 MB Notification: Performance of Detect States: time 7.106e-05/0.005306, allocations: 56.22 kB / 305.3 MB, free: 1.68 MB / 238.1 MB Notification: Performance of Partitioning: time 8.911e-05/0.005402, allocations: 80.34 kB / 305.4 MB, free: 1.578 MB / 238.1 MB Notification: Performance of Causalize: time 0.0003039/0.005712, allocations: 316.7 kB / 305.7 MB, free: 1.246 MB / 238.1 MB Notification: Performance of After Index Reduction Inline: time 0.000135/0.005855, allocations: 180.5 kB / 305.9 MB, free: 1.043 MB / 238.1 MB Notification: Performance of Inline: time 0.0002056/0.006067, allocations: 229 kB / 306.1 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of Partitioning: time 1.637e-05/0.006091, allocations: 12.12 kB / 306.1 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of Cleanup: time 1.391e-05/0.00611, allocations: 15.98 kB / 306.1 MB, free: 0.75 MB / 238.1 MB Notification: Performance of Causalize: time 0.0003339/0.006448, allocations: 355.4 kB / 306.5 MB, free: 408 kB / 238.1 MB Notification: Performance of Tearing: time 0.0002117/0.006669, allocations: 274.3 kB / 306.7 MB, free: 84 kB / 238.1 MB Notification: Performance of Initialization: time 3.2e-07/0.006676, allocations: 0 / 306.7 MB, free: 84 kB / 238.1 MB Notification: Performance of Tearing: time 2.715e-06/0.006684, allocations: 4.562 kB / 306.7 MB, free: 80 kB / 238.1 MB Notification: Performance of Categorize: time 7.384e-06/0.006696, allocations: 4 kB / 306.7 MB, free: 76 kB / 238.1 MB Notification: Performance of Solve: time 5.416e-05/0.006755, allocations: 31.97 kB / 306.8 MB, free: 44 kB / 238.1 MB Notification: Performance of Jacobian: time 2.154e-06/0.006762, allocations: 0 / 306.8 MB, free: 44 kB / 238.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: ......... 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: ................. 11 (11) {step.y, hold1.u, hold1.y, sample2.y, xor.u1, xor1.u2, $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: ........... 12 (scalar:12, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.246e-05/0.006808, allocations: 25.8 kB / 306.8 MB, free: 20 kB / 238.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.