Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.0009889/0.0009889, allocations: 189.9 kB / 18.68 MB, free: 4.27 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.619e-05, allocations: 2.281 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007119/0.007153, allocations: 6.444 MB / 358.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004703/0.01188, allocations: 2.55 MB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006008/0.0125, allocations: 20 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.0153, allocations: 1.261 MB / 362.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.01698, allocations: 0.6834 MB / 362.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.019, allocations: 1.12 MB / 364 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.02036, allocations: 1.285 MB / 365.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.02155, allocations: 0.8878 MB / 366.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005187/0.02208, allocations: 466.1 kB / 366.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.02269, allocations: 0.5793 MB / 367.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.02281, allocations: 96 kB / 367.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009504/0.02377, allocations: 419.7 kB / 367.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00121/0.02499, allocations: 1.841 MB / 369.6 MB, free: 1.547 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006603/0.02566, allocations: 1.22 MB / 370.8 MB, free: 316 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.02585, allocations: 159.5 kB / 370.9 MB, free: 156 kB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001984/0.02606, allocations: 27.88 kB / 371 MB, free: 128 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 (243) * Number of variables: 282 (281) Notification: Performance of Bindings: time 0.2152/0.2412, allocations: 6.376 MB / 377.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0008606/0.2421, allocations: 0.9899 MB / 378.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004622/0.2467, allocations: 4.863 MB / 383.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003603/0.2471, allocations: 312.4 kB / 383.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of Alias: time 0.00461/0.2517, allocations: 3.954 MB / 387.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simplify2: time 0.0003274/0.2521, allocations: 275.9 kB / 387.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of Events: time 0.0004366/0.2525, allocations: 453.9 kB / 388.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008997/0.2534, allocations: 0.9485 MB / 389.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of Partitioning: time 0.00161/0.2551, allocations: 1.413 MB / 390.5 MB, free: 5.281 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (6|6) Unmatched Variables *************************** [ALGB] (1) Real r_mLeakQS.omega slice: {} [ALGB] (1) Real currentSensorQS.omega slice: {} [ALGB] (1) Real rQS.pf = cos(Modelica.ComplexMath.arg(Complex.'constructor'.fromReal(rQS.P, rQS.Q), 0.0)) slice: {} [ALGB] (1) Real rQS.omega slice: {} [ALGB] (1) Real r_mAirParQS.omega slice: {} [ALGB] (1) Real r_mFeQS.omega slice: {} (6|6) Unmatched Equations *************************** [SCAL] (1) currentSensorQS.pin_n.reference.gamma = rQS.pin_p.reference.gamma ($RES_SIM_165) slice: {} [SCAL] (1) sourceQS.pin_p.reference.gamma = currentSensorQS.pin_p.reference.gamma ($RES_SIM_168) slice: {} [SCAL] (1) sourceQS.pin_n.reference.gamma = coilQS.pin_n.reference.gamma ($RES_SIM_182) slice: {} [SCAL] (1) ground_mQS.port.reference.gamma = coilQS.port_n.reference.gamma ($RES_SIM_187) slice: {} [SCAL] (1) r_mFeQS.port_p.reference.gamma = r_mFeQS.port_n.reference.gamma ($RES_SIM_76) slice: {} [SCAL] (1) r_mAirParQS.port_n.reference.gamma = r_mFeQS.port_p.reference.gamma ($RES_SIM_195) slice: {}