Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002369/0.002369, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003083/0.003083, allocations: 190.7 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.328e-05, allocations: 2.281 kB / 371.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.276/0.2761, allocations: 33.83 MB / 405.6 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03058/0.3066, allocations: 10.13 MB / 415.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01456/0.3212, allocations: 366 kB / 416.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02307/0.3443, allocations: 8.008 MB / 424.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01751/0.3618, allocations: 3.487 MB / 427.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009009/0.3708, allocations: 2.296 MB / 429.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02297/0.3938, allocations: 13.41 MB / 443.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03007/0.4238, allocations: 12.68 MB / 456 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01487/0.4387, allocations: 6.133 MB / 462.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01391/0.4526, allocations: 6.475 MB / 468.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005383/0.458, allocations: 1.371 MB / 470 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009791/0.4678, allocations: 2.007 MB / 472 MB, free: 2.586 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0295/0.4973, allocations: 18.83 MB / 490.8 MB, free: 15.6 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.01608/0.5134, allocations: 11.27 MB / 0.4903 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00745/0.5208, allocations: 0.6055 MB / 0.4909 GB, free: 3.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.002582/0.5234, allocations: 139.5 kB / 0.491 GB, free: 3.465 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3353 (1939) * Number of variables: 3329 (1511) Notification: Performance of [SIM] Bindings: time 0.4545/0.9779, allocations: 61.71 MB / 0.5513 GB, free: 62.51 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.02099/0.9989, allocations: 7.864 MB / 0.559 GB, free: 62.05 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.09059/1.089, allocations: 48.39 MB / 0.6062 GB, free: 34.78 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01966/1.109, allocations: 5.712 MB / 0.6118 GB, free: 31.85 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.06313/1.172, allocations: 31.13 MB / 0.6422 GB, free: 9.699 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.01311/1.185, allocations: 5.125 MB / 0.6472 GB, free: 6.332 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.006269/1.192, allocations: 3.162 MB / 0.6503 GB, free: 3.098 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.0149/1.207, allocations: 8.004 MB / 0.6581 GB, free: 11.11 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.002983/1.21, allocations: 1.113 MB / 0.6592 GB, free: 10.03 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.03425/1.244, allocations: 13.82 MB / 0.6727 GB, free: 12.21 MB / 478.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) Real[3] currentRMSsensor.v slice: {0, 2} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.807340599014424] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.phi', 'inertiaLoad.w', 'inertiaLoadQS.phi', 'inertiaLoadQS.w', 'dqToThreePhase.y[1]', 'dqToThreePhase.y[2]', 'dqToThreePhase.y[3]'] 1.2809581289766356 1.296204944 0.7691491189999999 Calling exit ...