Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002631/0.002631, allocations: 208.7 kB / 24.55 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.7 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.037e-05, allocations: 2.281 kB / 379.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2169/0.2169, allocations: 12.5 MB / 391.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.2284, allocations: 5.104 MB / 396.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004013/0.2324, allocations: 103.8 kB / 396.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00439/0.2368, allocations: 1.046 MB / 397.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006547/0.2434, allocations: 1.454 MB / 399.3 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.247, allocations: 1.012 MB / 400.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008137/0.2551, allocations: 5.263 MB / 405.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.258, allocations: 1.057 MB / 406.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.2617, allocations: 1.822 MB / 408.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004659/0.2664, allocations: 1.849 MB / 410.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.2675, allocations: 335.8 kB / 410.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.2714, allocations: 0.9374 MB / 411.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.009076/0.2805, allocations: 6.207 MB / 417.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00438/0.2849, allocations: 3.892 MB / 421.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.2861, allocations: 212 kB / 421.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0007635/0.2869, allocations: 59.84 kB / 421.9 MB, free: 2.281 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 (525) * Number of variables: 877 (513) Notification: Performance of [SIM] Bindings: time 0.0306/0.3175, allocations: 17.89 MB / 439.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.005275/0.3227, allocations: 2.027 MB / 441.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.02028/0.343, allocations: 11.02 MB / 452.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004531/0.3475, allocations: 1.374 MB / 454.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.01994/0.3675, allocations: 10.15 MB / 464.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002379/0.3699, allocations: 1.122 MB / 465.5 MB, free: 5.188 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001076/0.3709, allocations: 0.7334 MB / 466.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.002461/0.3734, allocations: 1.923 MB / 468.2 MB, free: 2.387 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0007287/0.3741, allocations: 390.2 kB / 468.5 MB, free: 1.996 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.004029/0.3782, allocations: 3.124 MB / 471.7 MB, free: 14.83 MB / 382.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.loadInertia.w. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0319607999990694] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.core.Phi.im', 'aimc.stator.core.Phi.re', 'aimc.stator.port_p.V_m.im', 'aimc.stator.port_p.V_m.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.w', 'powerSensor.flange_a.phi'] 0.41893525497289374 0.43380096999999995 0.143707456 Calling exit ...