Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemonstrateLightning") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 119.1 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 209 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.075e-05, allocations: 8.469 kB / 359.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemonstrateLightning): time 0.005288/0.005328, allocations: 2.891 MB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.007502, allocations: 0.8884 MB / 363.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.007946, allocations: 8 kB / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.008277, allocations: 51.45 kB / 363.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009107/0.009198, allocations: 119.1 kB / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009285/0.01014, allocations: 235.6 kB / 363.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.01139, allocations: 0.5881 MB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.01179, allocations: 119.1 kB / 364.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.01233, allocations: 203.4 kB / 364.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.01278, allocations: 215.1 kB / 364.6 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.01291, allocations: 48 kB / 364.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.01303, allocations: 48 kB / 364.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007566/0.01379, allocations: 0.6146 MB / 365.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003631/0.01417, allocations: 366.5 kB / 365.7 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.01438, allocations: 63.81 kB / 365.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001056/0.01449, allocations: 15.94 kB / 365.8 MB, free: 6.48 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: 58 (58) * Number of variables: 58 (58) Notification: Performance of Bindings: time 0.002099/0.0166, allocations: 1.775 MB / 367.6 MB, free: 4.59 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003318/0.01694, allocations: 189.3 kB / 367.7 MB, free: 4.414 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001165/0.01811, allocations: 0.8492 MB / 368.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001601/0.01829, allocations: 95.86 kB / 368.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of Alias: time 0.002034/0.02033, allocations: 1.535 MB / 370.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001224/0.02047, allocations: 63.92 kB / 370.3 MB, free: 1.707 MB / 302.1 MB Notification: Performance of Events: time 0.0002061/0.02068, allocations: 128.2 kB / 370.4 MB, free: 1.582 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003594/0.02105, allocations: 267.9 kB / 370.7 MB, free: 1.305 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002294/0.02128, allocations: 180 kB / 370.9 MB, free: 1.094 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [DER-] (1) Real $DER.integrator2.u slice: {} (1|1) Unmatched Equations *************************** [-IF-] (1)if $TEV_0 then [----] [SCAL] (1) integrator2.u = lightning2.signalSource.offset ($RES_SIM_49) [----] else [----] [SCAL] (1) integrator2.u = lightning2.signalSource.offset + ((((time - lightning2.signalSource.startTime) / lightning2.signalSource.tau1) ^ lightning2.signalSource.m * (lightning2.signalSource.amplitude / lightning2.signalSource.eta)) / (1.0 + ((time - lightning2.signalSource.startTime) / lightning2.signalSource.tau1) ^ lightning2.signalSource.m)) * exp(-(time - lightning2.signalSource.startTime) / lightning2.signalSource.tau2) ($RES_SIM_50) [----] end if; slice: {}