Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.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.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 116.3 kB / 18.47 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000996/0.000996, allocations: 210.3 kB / 19.42 MB, free: 3.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.202e-05, allocations: 2.281 kB / 359.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.008912/0.008942, allocations: 7.889 MB / 367.2 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.01494, allocations: 3.173 MB / 370.4 MB, free: 1.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.01603, allocations: 31.88 kB / 370.4 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.01915, allocations: 1.341 MB / 371.8 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.206/0.2252, allocations: 0.6251 MB / 372.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.2285, allocations: 1.502 MB / 373.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.2313, allocations: 1.987 MB / 375.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.2331, allocations: 1.32 MB / 377.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.2341, allocations: 0.6967 MB / 377.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008923/0.235, allocations: 0.8174 MB / 378.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.2352, allocations: 175.7 kB / 378.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.2367, allocations: 0.4944 MB / 379.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001745/0.2385, allocations: 2.692 MB / 382.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009021/0.2394, allocations: 1.756 MB / 383.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.2398, allocations: 257.5 kB / 384.1 MB, free: 5.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003567/0.2402, allocations: 52.52 kB / 384.1 MB, free: 5.91 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: 371 (331) * Number of variables: 371 (365) Notification: Performance of Bindings: time 0.007716/0.2479, allocations: 9.094 MB / 393.2 MB, free: 15.72 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.001342/0.2492, allocations: 1.285 MB / 394.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of Early Inline: time 0.007246/0.2565, allocations: 6.361 MB / 400.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simplify1: time 0.0005089/0.257, allocations: 421.7 kB / 401.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of Alias: time 0.007608/0.2646, allocations: 6.531 MB / 407.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of simplify2: time 0.00045/0.2651, allocations: 350.9 kB / 408.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of Events: time 0.001092/0.2662, allocations: 1.13 MB / 409.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of Detect States: time 0.001444/0.2677, allocations: 1.423 MB / 410.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001981/0.2697, allocations: 1.818 MB / 412.5 MB, free: 2.098 MB / 318.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.omega slice: {} [ALGB] (1) Real r_mAirParQS.omega slice: {} [ALGB] (1) Real sourceQS.pf = cos(Modelica.ComplexMath.arg(Complex.'constructor'.fromReal(sourceQS.P, sourceQS.Q), 0.0)) 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_239) slice: {} [SCAL] (1) sourceQS.pin_p.reference.gamma = currentSensorQS.pin_p.reference.gamma ($RES_SIM_242) slice: {} [SCAL] (1) ground_mQS.port.reference.gamma = coilQS.port_n.reference.gamma ($RES_SIM_261) slice: {} [SCAL] (1) ground_mQS.port.reference.gamma = r_mFeQS.port_n.reference.gamma ($RES_SIM_262) slice: {} [SCAL] (1) r_mAirParQS.port_n.reference.gamma = r_mFeQS.port_p.reference.gamma ($RES_SIM_269) slice: {} [SCAL] (1) sourceQS.pin_p.reference.gamma = sourceQS.pin_n.reference.gamma ($RES_SIM_194) slice: {}