Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001773/0.001773, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0021/0.0021, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 230.5 MB / 258.2 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.576e-05, allocations: 4.391 kB / 379.1 MB, free: 2.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2065/0.2065, allocations: 12.5 MB / 391.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009345/0.2159, allocations: 5.104 MB / 396.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.2184, allocations: 106.6 kB / 396.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.2213, allocations: 1.049 MB / 397.8 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005811/0.2271, allocations: 1.457 MB / 399.3 MB, free: 2.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.2301, allocations: 1.009 MB / 400.3 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00811/0.2382, allocations: 5.258 MB / 405.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.2408, allocations: 1.057 MB / 406.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/0.245, allocations: 1.82 MB / 408.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004213/0.2492, allocations: 1.847 MB / 410.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007189/0.2499, allocations: 337.8 kB / 410.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.2532, allocations: 0.9395 MB / 411.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.007984/0.2612, allocations: 6.206 MB / 417.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0044/0.2656, allocations: 3.887 MB / 421.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009258/0.2665, allocations: 212 kB / 421.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0007704/0.2673, allocations: 63.8 kB / 421.9 MB, free: 2.047 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.02207/0.2894, allocations: 17.88 MB / 439.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002897/0.2923, allocations: 2.026 MB / 441.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.01474/0.307, allocations: 11.02 MB / 452.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004455/0.3115, allocations: 1.366 MB / 454.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.01778/0.3292, allocations: 10.16 MB / 464.4 MB, free: 6.168 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002462/0.3317, allocations: 1.126 MB / 465.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001091/0.3328, allocations: 0.7296 MB / 466.2 MB, free: 4.16 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.002434/0.3352, allocations: 1.923 MB / 468.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0007103/0.3359, allocations: 389.8 kB / 468.5 MB, free: 1.762 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.003977/0.3399, allocations: 3.132 MB / 471.7 MB, free: 14.59 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.1339480809983797] 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.3780599519959651 0.392143863 0.121615789 Calling exit ...