Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.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.Electrical.PowerConverters.Examples.ACAC.Dimmer_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160000,variableFilter="time|voltageSensor.v|multiSensor.i|multiSensor.v|multiSensor.power|meanPower.y|vRMS.y|vH01.y_rms|vH01.y_arg|iRMS.y|iH01.y_rms|iH01.y_arg",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160000,variableFilter="time|voltageSensor.v|multiSensor.i|multiSensor.v|multiSensor.power|meanPower.y|vRMS.y|vH01.y_rms|vH01.y_arg|iRMS.y|iH01.y_rms|iH01.y_arg",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 111.8 kB / 17.75 MB, free: 5.336 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.001211/0.001211, allocations: 185.8 kB / 18.68 MB, free: 4.414 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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.051e-05, allocations: 2.281 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R): time 0.005959/0.005988, allocations: 5.245 MB / 357.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.009684, allocations: 2.014 MB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005038/0.0102, allocations: 19.94 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009555/0.01116, allocations: 0.6186 MB / 359.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.01222, allocations: 0.7236 MB / 360.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.0134, allocations: 0.5686 MB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002437/0.01584, allocations: 2.609 MB / 363.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006772/0.01653, allocations: 0.5333 MB / 364.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.01794, allocations: 1.285 MB / 365.6 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.01861, allocations: 0.664 MB / 366.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.0188, allocations: 128 kB / 366.4 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.01908, allocations: 160 kB / 366.5 MB, free: 4.602 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0013/0.02039, allocations: 1.975 MB / 368.5 MB, free: 2.605 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006161/0.02101, allocations: 1.153 MB / 369.7 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.02123, allocations: 191.3 kB / 369.9 MB, free: 1.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002484/0.02148, allocations: 59.61 kB / 369.9 MB, free: 1.191 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: 197 (194) * Number of variables: 197 (187) Notification: Performance of Bindings: time 0.2116/0.2331, allocations: 5.567 MB / 375.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0005089/0.2336, allocations: 357.9 kB / 375.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002569/0.2362, allocations: 2.551 MB / 378.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003767/0.2366, allocations: 216.8 kB / 378.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of Alias: time 0.005446/0.2421, allocations: 4.16 MB / 382.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simplify2: time 0.0003014/0.2424, allocations: 159.5 kB / 382.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Events: time 0.0008673/0.2433, allocations: 0.7009 MB / 383.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Detect States: time 0.001077/0.2443, allocations: 0.9826 MB / 384.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001161/0.2455, allocations: 0.9839 MB / 385.6 MB, free: 10.26 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (2) Real[1, 2, 1] adaptor.filter.transferFunction.x (start = {adaptor.filter[$filter1].transferFunction[$transferFunction1].x_start for $filter1 in 1:2, $transferFunction1 in 1:1}) slice: {1} [DER-] (2) Real[1, 2, 1] $DER.adaptor.filter.transferFunction.x_scaled slice: {1} (2|2) Unmatched Equations *************************** [SCAL] (1) $SEV_5 = integer((time - trapezoid.startTime) / trapezoid.period) > $PRE.trapezoid.count ($RES_EVT_279) slice: {} [SCAL] (1) triac.v = sineVoltage.p.v - triac.thyristor1.n.v ($RES_SIM_123) slice: {}