Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.ASMArelated.ControlLogic.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.001512/0.001512, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 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.001662/0.001662, allocations: 213.9 kB / 23.07 MB, free: 4.844 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.388/1.388, allocations: 230.7 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.03937/0.03937, allocations: 8.549 MB / 321.8 MB, free: 10.37 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) 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(EHPTlib.ElectricDrives.ASMArelated.ControlLogic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.ASMArelated.ControlLogic") translateModel(EHPTlib.ElectricDrives.ASMArelated.ControlLogic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.ASMArelated.ControlLogic") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.231e-05, allocations: 2.281 kB / 448.2 MB, free: 15.11 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:4:3-5:23:writable] Warning: Parameter Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:6:3-7:24:writable] Warning: Parameter Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:8:3-9:38:writable] Warning: Parameter uBase has no value, and is fixed during initialization (fixed=true), using available start value (start=400) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:12:3-13:32:writable] Warning: Parameter Lstray has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2036/weBase) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:16:3-16:76:writable] Warning: Parameter pp has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.ASMArelated.ControlLogic): time 0.003449/0.003471, allocations: 1.811 MB / 450 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007142/0.004185, allocations: 275.3 kB / 450.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.004319, allocations: 7.938 kB / 450.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.851e-05/0.004378, allocations: 11.81 kB / 450.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.004655, allocations: 35.7 kB / 450.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.005002, allocations: 135.3 kB / 450.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.005406, allocations: 255.5 kB / 450.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.005636, allocations: 41.97 kB / 450.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.005844, allocations: 111.6 kB / 450.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.005993, allocations: 87.59 kB / 450.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.006036, allocations: 19.94 kB / 450.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.26e-05/0.006068, allocations: 16 kB / 451 MB, free: 12.32 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003743/0.006443, allocations: 344.5 kB / 451.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001598/0.006603, allocations: 197.3 kB / 451.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.006652, allocations: 12 kB / 451.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.551e-05/0.006698, allocations: 11.92 kB / 451.5 MB, free: 11.76 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: 26 (26) * Number of variables: 26 (26) Notification: Performance of [SIM] Bindings: time 0.001182/0.007879, allocations: 0.8713 MB / 452.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002042/0.008084, allocations: 103.8 kB / 452.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005413/0.008625, allocations: 495.8 kB / 453 MB, free: 10.14 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000306/0.008931, allocations: 142 kB / 453.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001124/0.01005, allocations: 0.7148 MB / 453.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001653/0.01022, allocations: 110 kB / 453.9 MB, free: 8.965 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 8.983e-05/0.01031, allocations: 72.39 kB / 454 MB, free: 8.867 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0002047/0.01051, allocations: 156.7 kB / 454.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001822/0.0107, allocations: 88.25 kB / 454.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003038/0.011, allocations: 225.2 kB / 454.5 MB, free: 8.332 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0005354/0.01154, allocations: 346.2 kB / 454.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003933/0.01193, allocations: 423.5 kB / 455.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0006015/0.01253, allocations: 360.9 kB / 455.6 MB, free: 7.141 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0006276/0.01316, allocations: 0.5789 MB / 456.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 4.686e-05/0.0132, allocations: 30.67 kB / 456.2 MB, free: 6.52 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0001695/0.01337, allocations: 153.2 kB / 456.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.002003/0.01538, allocations: 1.202 MB / 457.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 4.124e-05/0.01542, allocations: 40 kB / 457.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 6.72e-07/0.01542, allocations: 0 / 457.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002648/0.01568, allocations: 168.1 kB / 457.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.731e-06/0.01569, allocations: 4.188 kB / 457.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 1.442e-05/0.0157, allocations: 20 kB / 457.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.071e-05/0.01571, allocations: 3.984 kB / 457.8 MB, free: 4.898 MB / 318.1 MB Error: Internal error NBStrongComponent.toSolvedEquation failed because strong component could not be solved explicitly: BLOCK: Algebraic Loop (Linear = false, Mixed = false, Homotopy = false, size = 1) ----------------------------------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: [ALGB] (1) Real tauToDW.y; ### Residual Equations: [SCAL] (1) $RES_SIM_7 = (3.0 * tauToDW.Kw ^ 2.0 * tauToDW.y * tauToDW.Rr) / ((tauToDW.pp * tauToDW.y * tauToDW.Lstray) ^ 2.0 + tauToDW.Rr ^ 2.0) - tauToDW.Tmax ($RES_SIM_8); ### Inner Equations: Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------------- ### Variables: [ALGB] (1) Real tauToDW.y ### Equation: [-IF-] (1) ($RES_SIM_7) [----] if $SEV_3 then [----] [SCAL] (1) $RES_SIM_7 = (3.0 * tauToDW.Kw ^ 2.0 * tauToDW.y * tauToDW.Rr) / ((tauToDW.pp * tauToDW.y * tauToDW.Lstray) ^ 2.0 + tauToDW.Rr ^ 2.0) - tauToDW.Tmax ($RES_SIM_8) [----] elseif $SEV_4 then [----] [SCAL] (1) $RES_SIM_7 = tauToDW.Tmax + (3.0 * tauToDW.Kw ^ 2.0 * tauToDW.y * tauToDW.Rr) / ((tauToDW.pp * tauToDW.y * tauToDW.Lstray) ^ 2.0 + tauToDW.Rr ^ 2.0) ($RES_SIM_9) [----] else [----] [SCAL] (1) $RES_SIM_7 = (3.0 * tauToDW.Kw ^ 2.0 * tauToDW.y * tauToDW.Rr) / ((tauToDW.pp * tauToDW.y * tauToDW.Lstray) ^ 2.0 + tauToDW.Rr ^ 2.0) - Tstar ($RES_SIM_10) [----] end if; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.3421702019986697] Failed to read output from testmodel.py, exit status != 0: 0.02375666704028845 0.038570539 0.029020781000000002 Calling exit ...